summaryrefslogtreecommitdiff
path: root/xmake/plugins/lua/main.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2023-09-14 22:55:22 +0800
committerruki <[email protected]>2023-09-14 22:55:22 +0800
commit74a7c9dca98d7dbadb59736d25155f5966d8da6d (patch)
treee9416d95565a5f76d90e55e1177cc89fd1dea37d /xmake/plugins/lua/main.lua
parentd900a8a1b966df29be874a7c1c2cf0d25df47756 (diff)
improve xmake
Diffstat (limited to 'xmake/plugins/lua/main.lua')
-rw-r--r--xmake/plugins/lua/main.lua3
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/plugins/lua/main.lua b/xmake/plugins/lua/main.lua
index 437d69870..2b7a9fa4b 100644
--- a/xmake/plugins/lua/main.lua
+++ b/xmake/plugins/lua/main.lua
@@ -162,7 +162,8 @@ end
function main()
-- do action for remote if we are in the project directory?
- if os.isfile(project.rootfile()) and remote_build_action.enabled() then
+ if os.isfile(project.rootfile()) and remote_build_action.enabled()
+ and xmake.argv()[2] ~= "private.utils.complete" then
return remote_build_action()
end