diff options
| author | ruki <[email protected]> | 2020-02-27 22:37:00 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-02-27 09:42:01 +0800 |
| commit | f26c0edb8b74cd48a27d833bc75a0cd0ecf6a0a1 (patch) | |
| tree | a181b445feda5a650e4ed79cb3aa02dd2b1132d3 /xmake/actions/build/xmake.lua | |
| parent | 8ff71e5b75987914e71fa446c0fad82868be6c50 (diff) | |
add dry-run command
Diffstat (limited to 'xmake/actions/build/xmake.lua')
| -rw-r--r-- | xmake/actions/build/xmake.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/actions/build/xmake.lua b/xmake/actions/build/xmake.lua index eab28b41f..2dd6fbd8e 100644 --- a/xmake/actions/build/xmake.lua +++ b/xmake/actions/build/xmake.lua @@ -41,6 +41,7 @@ task("build") {'b', "build", "k", nil , "Build target. This is default building mode and optional." } , {'r', "rebuild", "k", nil , "Rebuild the target." } , {'a', "all", "k", nil , "Build all targets." } + , {nil, "dry-run", "k", nil , "Dry run to build target." } , {} , {'j', "jobs", "kv", tostring(math.ceil(os.cpuinfo().ncpu * 3 / 2)), |
