summaryrefslogtreecommitdiff
path: root/xmake/modules/private/utils/complete_helper.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-05-21 23:38:00 +0800
committerruki <[email protected]>2021-05-21 23:38:00 +0800
commit81b6bcf17837db9771ba3781dd63e90ce6af2d65 (patch)
tree7013a6e2b90a27cf6d321af027025c1b7da30e1e /xmake/modules/private/utils/complete_helper.lua
parentab71fcb7bfaf85340c92425a9e167e172b25fa76 (diff)
set binary as default target kind
Diffstat (limited to 'xmake/modules/private/utils/complete_helper.lua')
-rw-r--r--xmake/modules/private/utils/complete_helper.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/modules/private/utils/complete_helper.lua b/xmake/modules/private/utils/complete_helper.lua
index 89b542d30..386f50194 100644
--- a/xmake/modules/private/utils/complete_helper.lua
+++ b/xmake/modules/private/utils/complete_helper.lua
@@ -42,7 +42,7 @@ function runable_targets()
local targets = project.targets()
local runable = {}
for k, v in pairs(targets) do
- if v:script("run") or v:get("kind") == "binary" then
+ if v:script("run") or v:is_binary() then
table.insert(runable, k)
end
end