diff options
| author | ruki <[email protected]> | 2015-06-09 16:00:21 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2015-06-09 16:00:21 +0800 |
| commit | e18c9d7a5718c80852fab0eb89161b4da28b7a94 (patch) | |
| tree | 97f3b07c525cb8f1b91a5ca5a13b729d6b0fc7e1 /xmake/scripts/base/clean.lua | |
| parent | bf0040998da482cb640a3637fd91e36a0495b27b (diff) | |
fix defines bug
Diffstat (limited to 'xmake/scripts/base/clean.lua')
| -rw-r--r-- | xmake/scripts/base/clean.lua | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/xmake/scripts/base/clean.lua b/xmake/scripts/base/clean.lua index e31466bdc..3426dc41e 100644 --- a/xmake/scripts/base/clean.lua +++ b/xmake/scripts/base/clean.lua @@ -61,13 +61,7 @@ function clean._remove_target(target_name, target, target_only, buildir) -- check assert(target_name and target) - - -- remove the configure file - local configfile = rule.configfile(target) - if configfile and not clean._remove(configfile) then - return false - end - + -- remove the target file if not clean._remove(rule.targetfile(target_name, target, buildir)) then return false |
