diff options
| -rwxr-xr-x | xmake/actions/package/main.lua | 10 | ||||
| -rwxr-xr-x | xmake/actions/package/xmake.lua | 2 |
2 files changed, 11 insertions, 1 deletions
diff --git a/xmake/actions/package/main.lua b/xmake/actions/package/main.lua index 5907517d8..caa6aff53 100755 --- a/xmake/actions/package/main.lua +++ b/xmake/actions/package/main.lua @@ -184,6 +184,16 @@ end -- main function main() + -- --archs? deprecated + if option.get("archs") then + + -- load config + config.load() + + -- deprecated + raise("please run \"xmake m package %s\" instead of \"xmake p --archs=%s\"", config.get("plat"), option.get("archs")) + end + -- get the target name local targetname = option.get("target") diff --git a/xmake/actions/package/xmake.lua b/xmake/actions/package/xmake.lua index 9ebf7f6c4..ce367ca88 100755 --- a/xmake/actions/package/xmake.lua +++ b/xmake/actions/package/xmake.lua @@ -44,7 +44,7 @@ task("package") , options = { {'o', "outputdir", "kv", nil, "Set the output directory." } - + , {'a', "archs", "kv", nil, "Compile for the given architecture. (deprecated)" } , {} , {nil, "target", "v", "all", "Package a given target" } } |
