summaryrefslogtreecommitdiff
path: root/xmake/actions/package/remote/main.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-06-02 23:33:26 +0800
committerruki <[email protected]>2021-06-02 23:33:26 +0800
commitbccbaae0a466152fa648ed10156fb6295c862c37 (patch)
treeab6bb7cec9d359b6cb2ff92e3709863ce6ad2a6d /xmake/actions/package/remote/main.lua
parent76a7ac04e4a1a07347fd1fb6bc43374e2ff88dc6 (diff)
fix fetch package
Diffstat (limited to 'xmake/actions/package/remote/main.lua')
-rw-r--r--xmake/actions/package/remote/main.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/actions/package/remote/main.lua b/xmake/actions/package/remote/main.lua
index 6b108e60e..0e8383890 100644
--- a/xmake/actions/package/remote/main.lua
+++ b/xmake/actions/package/remote/main.lua
@@ -59,7 +59,7 @@ function _package_remote(target)
file:print(" set_license(\"%s\")", target:license())
end
if #deps > 0 then
- file:print(" set_deps(\"%s\")", table.concat(deps, "\", \""))
+ file:print(" add_deps(\"%s\")", table.concat(deps, "\", \""))
end
file:print("")
local url = option.get("url") or "https://github.com/myrepo/foo.git"