improve test

pull/2810/head
ruki 1 year ago
parent 34bbb24a84
commit c7a62145f4
  1. 2
      scripts/test.lua

@ -230,7 +230,9 @@ function main(...)
os.cd("test")
print(os.curdir())
-- do action for remote?
if os.isdir("xmake-repo") then
os.exec("xmake service --disconnect")
end
if argv.remote then
os.tryrm("xmake-repo")
os.cp(path.join(repodir, "packages"), "xmake-repo/packages")

Loading…
Cancel
Save