diff options
| author | ruki <[email protected]> | 2015-06-05 11:20:58 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2015-06-05 11:20:58 +0800 |
| commit | 4fd209354ecf8a6f90b5a19a18e2268e3c9d649f (patch) | |
| tree | d2a8ee6f98686abfc14259ca6dee7ab736551c9f /xmake/scripts/action/_clean.lua | |
| parent | 12ce7dea3c7a74f77e9792236cb85bab4fd001e4 (diff) | |
fix some bug for config
Diffstat (limited to 'xmake/scripts/action/_clean.lua')
| -rw-r--r-- | xmake/scripts/action/_clean.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/xmake/scripts/action/_clean.lua b/xmake/scripts/action/_clean.lua index 8f026c057..5af3604b7 100644 --- a/xmake/scripts/action/_clean.lua +++ b/xmake/scripts/action/_clean.lua @@ -30,8 +30,12 @@ local config = require("base/config") -- done the given config function _clean.done() + -- the options + local options = xmake._OPTIONS + assert(options) + -- clean the current target - if not clean.remove(config.get("target")) then + if not clean.remove(options.target) then return false end |
