diff options
| author | ruki <[email protected]> | 2024-05-28 23:01:31 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-05-28 23:01:31 +0800 |
| commit | baeddec39147f5143ef838a2798483cd3653bc04 (patch) | |
| tree | 691cc8cfb05f3741ea8b70424d702a14fac90162 /xmake/plugins/pack/xmake.lua | |
| parent | d396bdbcd399d1bd9dd8ea94bfbe5a3bba7b3717 (diff) | |
add jobs for pack
Diffstat (limited to 'xmake/plugins/pack/xmake.lua')
| -rw-r--r-- | xmake/plugins/pack/xmake.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/plugins/pack/xmake.lua b/xmake/plugins/pack/xmake.lua index fa4408d78..24b005fe1 100644 --- a/xmake/plugins/pack/xmake.lua +++ b/xmake/plugins/pack/xmake.lua @@ -28,6 +28,7 @@ task("pack") {'o', "outputdir", "kv", nil, "Set the output directory. (default: build/xpack)"}, {nil, "basename", "kv", nil, "Set the basename of the output file."}, {nil, "autobuild", "kv", true, "Build targets automatically."}, + {'j', "jobs", "kv", tostring(os.default_njob()), "Set the number of parallel compilation jobs." }, {'f', "formats", "kv", "all", "Pack the given package formats.", "e.g.", " - xmake pack -f nsis,deb,rpm", |
