summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2022-04-05 22:43:13 +0800
committerruki <[email protected]>2022-04-05 22:43:13 +0800
commit850656df9fd322bb91d62be0e5d64d8f219559f8 (patch)
treeaf59e5c9cd45676b249a94284c0de0cb5ff32649
parentfc1eda282369071bd5d81963a01b618ff13ea48e (diff)
move service to private modules
-rw-r--r--xmake/modules/private/service/config.lua (renamed from xmake/plugins/service/config.lua)0
-rw-r--r--xmake/modules/private/service/remote_build_server/main.lua (renamed from xmake/plugins/service/remote_build_server/main.lua)2
-rw-r--r--xmake/modules/private/service/server.lua (renamed from xmake/plugins/service/server.lua)0
-rw-r--r--xmake/plugins/service/service.lua2
4 files changed, 2 insertions, 2 deletions
diff --git a/xmake/plugins/service/config.lua b/xmake/modules/private/service/config.lua
index 239759225..239759225 100644
--- a/xmake/plugins/service/config.lua
+++ b/xmake/modules/private/service/config.lua
diff --git a/xmake/plugins/service/remote_build_server/main.lua b/xmake/modules/private/service/remote_build_server/main.lua
index 60a24f0f8..6409e6db3 100644
--- a/xmake/plugins/service/remote_build_server/main.lua
+++ b/xmake/modules/private/service/remote_build_server/main.lua
@@ -19,7 +19,7 @@
--
-- imports
-import(".server")
+import("private.service.server")
-- define module
local remote_build_server = remote_build_server or server()
diff --git a/xmake/plugins/service/server.lua b/xmake/modules/private/service/server.lua
index e2ccbbd86..e2ccbbd86 100644
--- a/xmake/plugins/service/server.lua
+++ b/xmake/modules/private/service/server.lua
diff --git a/xmake/plugins/service/service.lua b/xmake/plugins/service/service.lua
index 964da636c..719cc8b0a 100644
--- a/xmake/plugins/service/service.lua
+++ b/xmake/plugins/service/service.lua
@@ -21,7 +21,7 @@
-- imports
import("core.base.option")
import("core.base.scheduler")
-import("remote_build_server")
+import("private.service.remote_build_server")
function _start_remote_build_server()
remote_build_server():runloop()