From 44ff3b70c46134bb217d7b91bcb03c3bdae40584 Mon Sep 17 00:00:00 2001 From: ruki Date: Sun, 29 May 2016 21:25:59 +0800 Subject: remove some old codes --- xmake/actions/clean/main.lua | 8 -------- 1 file changed, 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 -- cgit v1.3.1