summaryrefslogtreecommitdiff
path: root/xmake/modules/private/service/remote_cache/client.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2023-09-15 22:33:38 +0800
committerruki <[email protected]>2023-09-15 22:33:38 +0800
commit61db1413d0cf16d41a5ad6cf21b586bb94a2ea78 (patch)
tree41f69755cbb5ede6340cf8c186718d51171c961b /xmake/modules/private/service/remote_cache/client.lua
parente45896ac7e84dbaa88c708584f389d6eacc1dd53 (diff)
improve service client directory
Diffstat (limited to 'xmake/modules/private/service/remote_cache/client.lua')
-rw-r--r--xmake/modules/private/service/remote_cache/client.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/modules/private/service/remote_cache/client.lua b/xmake/modules/private/service/remote_cache/client.lua
index b6c4d8354..db6525491 100644
--- a/xmake/modules/private/service/remote_cache/client.lua
+++ b/xmake/modules/private/service/remote_cache/client.lua
@@ -50,7 +50,7 @@ function remote_cache_client:init()
local projectfile = os.projectfile()
if projectfile and os.isfile(projectfile) and projectdir then
self._PROJECTDIR = projectdir
- self._WORKDIR = path.join(project_config.directory(), "remote_cache")
+ self._WORKDIR = path.join(project_config.directory(), "service", "remote_cache")
else
raise("we need to enter a project directory with xmake.lua first!")
end
@@ -487,7 +487,7 @@ function is_connected()
local projectdir = os.projectdir()
local projectfile = os.projectfile()
if projectfile and os.isfile(projectfile) and projectdir then
- local workdir = path.join(project_config.directory(), "remote_cache")
+ local workdir = path.join(project_config.directory(), "service", "remote_cache")
local statusfile = path.join(workdir, "status.txt")
if os.isfile(statusfile) then
local status = io.load(statusfile)