summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2022-04-10 23:34:51 +0800
committerruki <[email protected]>2022-04-10 23:34:51 +0800
commit4fc1bdc41ccf9156f9aa330c57fd0bc3b0619ed4 (patch)
tree8823dcfa32361940da829254e80817a0fa2c64bb
parent951470293adc0906dc7c23710ec70c9b727b2542 (diff)
add todo
-rw-r--r--xmake/modules/private/service/remote_build/client.lua7
1 files changed, 4 insertions, 3 deletions
diff --git a/xmake/modules/private/service/remote_build/client.lua b/xmake/modules/private/service/remote_build/client.lua
index 25caf599c..27d216310 100644
--- a/xmake/modules/private/service/remote_build/client.lua
+++ b/xmake/modules/private/service/remote_build/client.lua
@@ -79,15 +79,15 @@ function remote_build_client:connect()
end
end
if connected then
- print("%s: connected!", self)
+ self:_syncfiles()
io.save(statusfile, {
addr = addr,
port = port,
session_id = session_id})
- self:_syncfiles()
+ print("%s: connected!", self)
else
- print("%s: connect %s:%d failed", self, addr, port)
os.tryrm(statusfile)
+ print("%s: connect %s:%d failed", self, addr, port)
end
end
@@ -163,6 +163,7 @@ end
-- sync files
function remote_build_client:_syncfiles()
+ -- TODO
end
function remote_build_client:__tostring()