summaryrefslogtreecommitdiff
path: root/xmake/plugins/lua/main.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2023-09-14 23:09:03 +0800
committerruki <[email protected]>2023-09-14 23:09:03 +0800
commitaa25477748c5ea2574e8dcef8b7d8b5d7cbfd6d7 (patch)
treee299983537de05bd22be45fb783affed14f21ab5 /xmake/plugins/lua/main.lua
parent543be3202228b3b6999c92936cbd8a335b95054b (diff)
disable remote for xmake lua
Diffstat (limited to 'xmake/plugins/lua/main.lua')
-rw-r--r--xmake/plugins/lua/main.lua7
1 files changed, 0 insertions, 7 deletions
diff --git a/xmake/plugins/lua/main.lua b/xmake/plugins/lua/main.lua
index 2b7a9fa4b..c0cd92f52 100644
--- a/xmake/plugins/lua/main.lua
+++ b/xmake/plugins/lua/main.lua
@@ -23,7 +23,6 @@ import("core.base.option")
import("core.sandbox.module")
import("core.sandbox.sandbox")
import("core.project.project")
-import("private.service.remote_build.action", {alias = "remote_build_action"})
-- get all lua scripts
function scripts()
@@ -161,12 +160,6 @@ end
function main()
- -- do action for remote if we are in the project directory?
- if os.isfile(project.rootfile()) and remote_build_action.enabled()
- and xmake.argv()[2] ~= "private.utils.complete" then
- return remote_build_action()
- end
-
-- list builtin scripts
if option.get("list") then
return _list()