summaryrefslogtreecommitdiff
path: root/xmake/actions/package/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-06-02 23:16:24 +0800
committerruki <[email protected]>2021-06-02 23:16:24 +0800
commit76a7ac04e4a1a07347fd1fb6bc43374e2ff88dc6 (patch)
tree5144d821fdca1f3df22c477a2bc48263a4b9311a /xmake/actions/package/xmake.lua
parent50a79cc6fcece9b826d60ccd54998176df5db43e (diff)
add more package options
Diffstat (limited to 'xmake/actions/package/xmake.lua')
-rw-r--r--xmake/actions/package/xmake.lua6
1 files changed, 6 insertions, 0 deletions
diff --git a/xmake/actions/package/xmake.lua b/xmake/actions/package/xmake.lua
index 0a757a1eb..dd7b1846f 100644
--- a/xmake/actions/package/xmake.lua
+++ b/xmake/actions/package/xmake.lua
@@ -28,8 +28,14 @@ task("package")
options = {
{'o', "outputdir", "kv", nil, "Set the output directory."},
{'a', "all", "k", nil, "Package all targets."},
+ {},
{'f', "format", "kv", "local", "Set the package format.",
values = {"oldpkg", "local", "remote"}},
+ {nil, "homepage", "kv", nil, "Set the homepage of package."},
+ {nil, "description","kv", nil, "Set the description of package."},
+ {nil, "url", "kv", nil, "Set the url of remote package."},
+ {nil, "version", "kv", nil, "Set the version of remove package."},
+ {nil, "shasum", "kv", nil, "Set the sha256 or commit of remote package."},
{},
{nil, "target", "v", nil, "The target name. It will package all default targets if this parameter is not specified.",
values = function (complete, opt)