diff options
| author | ruki <[email protected]> | 2023-09-15 22:33:38 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-09-15 22:33:38 +0800 |
| commit | 61db1413d0cf16d41a5ad6cf21b586bb94a2ea78 (patch) | |
| tree | 41f69755cbb5ede6340cf8c186718d51171c961b /xmake/modules/private/service/remote_cache/client.lua | |
| parent | e45896ac7e84dbaa88c708584f389d6eacc1dd53 (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.lua | 4 |
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) |
