diff options
| author | ruki <[email protected]> | 2016-02-24 21:09:46 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-02-24 21:09:46 +0800 |
| commit | ac6323f24c35b446c1f550378c19aad9b6a6940f (patch) | |
| tree | f1a8eb0939970df62c8ad12c930b911a1e352087 /xmake/core/base/action.lua | |
| parent | 00958c7b39c53a7e597ff6705ae9b1e2baeece4b (diff) | |
show submenu for task
Diffstat (limited to 'xmake/core/base/action.lua')
| -rw-r--r-- | xmake/core/base/action.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/xmake/core/base/action.lua b/xmake/core/base/action.lua index 2cb7c71cf..c84d43b3c 100644 --- a/xmake/core/base/action.lua +++ b/xmake/core/base/action.lua @@ -63,7 +63,7 @@ function action._load_project() end -- xmake config or marked as "reconfig"? - if options._ACTION == "config" or config._RECONFIG then + if options._TASK == "config" or config._RECONFIG then -- probe the current project project.probe() @@ -102,7 +102,7 @@ function action.done(name) end -- probe the platform - if _action.need("platform") and (options._ACTION == "config" or config._RECONFIG) then + if _action.need("platform") and (options._TASK == "config" or config._RECONFIG) then if not platform.probe(false) then return false end |
