summaryrefslogtreecommitdiff
path: root/xmake/plugins
diff options
context:
space:
mode:
authorruki <[email protected]>2023-11-09 22:46:16 +0800
committerruki <[email protected]>2023-11-09 22:46:16 +0800
commitcaa1342b25ed7e71b3975a6b40ec8823aa5f0d23 (patch)
tree1e7bd6b12ef4175ab0b6a6f48d4032bf360ad1b5 /xmake/plugins
parentba750b500a475c11e28613bc63384d74b44296d8 (diff)
add more apis and arguments
Diffstat (limited to 'xmake/plugins')
-rw-r--r--xmake/plugins/pack/xmake.lua9
1 files changed, 8 insertions, 1 deletions
diff --git a/xmake/plugins/pack/xmake.lua b/xmake/plugins/pack/xmake.lua
index 700f6c259..a8cce7762 100644
--- a/xmake/plugins/pack/xmake.lua
+++ b/xmake/plugins/pack/xmake.lua
@@ -25,6 +25,13 @@ task("pack")
usage = "xmake pack [options] [names]",
description = "Pack binary installation packages.",
options = {
- {nil, "names", "vs", nil, "The package names."}
+ {'o', "output", "kv", nil, "The output directory. (default: build/xpack)"},
+ {'f', "formats", "kv", "all", "Pack the given package formats.",
+ "e.g.",
+ " - xmake pack -f nsis,deb,rpm",
+ "values:",
+ values = {"nsis", "deb", "rpm", "runself", "targz", "zip"}},
+ {},
+ {nil, "packages", "vs", nil, "The package names."}
}
}