summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2022-09-23 23:13:19 +0800
committerruki <[email protected]>2022-09-23 23:13:19 +0800
commitf7aff45d5f0155431a628f97ad6f40f0d5f4d131 (patch)
tree34e3ca72f466f3cfefc82a2056576e5f26ea66ac
parente7dccdf5eb397d31031d242bc5d39990bdc370de (diff)
pass -y for xrepo/trybuild
-rw-r--r--xmake/modules/private/action/trybuild/xrepo.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/modules/private/action/trybuild/xrepo.lua b/xmake/modules/private/action/trybuild/xrepo.lua
index 073ecd57f..ba845e72e 100644
--- a/xmake/modules/private/action/trybuild/xrepo.lua
+++ b/xmake/modules/private/action/trybuild/xrepo.lua
@@ -80,6 +80,7 @@ end
-- get common configs
function _get_common_configs(argv)
+ table.insert(argv, "-y")
table.insert(argv, "--shallow")
table.insert(argv, "-v")
if option.get("diagnosis") then