diff options
| author | ruki <[email protected]> | 2015-12-28 18:59:43 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2015-12-28 18:59:43 +0800 |
| commit | ad9b35fd836a38d72c39efc112300ab5d92503ba (patch) | |
| tree | 0c84be2250e27952fb6821b77fd96c3167a78513 /xmake/scripts/action/_build.lua | |
| parent | e0dab0305d1967b57b12d2deb94e4253bf7cde06 (diff) | |
add clean all
Diffstat (limited to 'xmake/scripts/action/_build.lua')
| -rw-r--r-- | xmake/scripts/action/_build.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/scripts/action/_build.lua b/xmake/scripts/action/_build.lua index 4b4b72687..7fc7ce4ed 100644 --- a/xmake/scripts/action/_build.lua +++ b/xmake/scripts/action/_build.lua @@ -61,10 +61,10 @@ function _build.done() -- rebuild it? if options.rebuild or config.get("__rebuild") then - clean.remove(target_name) + clean.remove(target_name, "build") -- update it? elseif options.update then - clean.remove(target_name, true) + clean.remove(target_name, "targets") end -- clear rebuild mark and save configure to file |
