diff options
| author | ruki <[email protected]> | 2016-05-29 21:25:59 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-05-29 21:25:59 +0800 |
| commit | 44ff3b70c46134bb217d7b91bcb03c3bdae40584 (patch) | |
| tree | ff0374a31846dc0bade2a690166ed4cd0c2204ea | |
| parent | 42bd7e6e3fea157cb946387a01cbb4b39ecbe559 (diff) | |
remove some old codes
| -rwxr-xr-x | xmake/actions/clean/main.lua | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/xmake/actions/clean/main.lua b/xmake/actions/clean/main.lua index 979027d17..2c987f2ad 100755 --- a/xmake/actions/clean/main.lua +++ b/xmake/actions/clean/main.lua @@ -108,7 +108,6 @@ function _clean_target_and_deps(target) for _, dep in ipairs(target:get("deps")) do _clean_target_and_deps(project.target(dep)) end - end -- clean the given target @@ -131,19 +130,12 @@ function _clean(targetname) -- remove all if option.get("all") then - -- remove makefile - _remove("$(buildir)/makefile") - -- remove the configure directory _remove(config.directory()) - -- remove the log file - _remove("$(buildir)/.build.log") - -- remove build directory if be empty os.rm("$(buildir)", true) end - end -- main |
