diff options
| author | ruki <[email protected]> | 2018-12-11 22:40:23 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2018-12-11 10:02:21 +0800 |
| commit | e429d90d867a8919b0480d1838f0d7d2bab94f27 (patch) | |
| tree | 4b5b39725eb08309687e0515ef0b0095a741fc00 /xmake/core/base | |
| parent | e9a6a15b91e979ef855749be60c1ddd50823b9d5 (diff) | |
add xmake g --menu
Diffstat (limited to 'xmake/core/base')
| -rw-r--r-- | xmake/core/base/global.lua | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/xmake/core/base/global.lua b/xmake/core/base/global.lua index 62c9749fb..977af02dd 100644 --- a/xmake/core/base/global.lua +++ b/xmake/core/base/global.lua @@ -153,6 +153,12 @@ function global.save() return io.save(global._file(), options) end +-- clear config +function global.clear() + global._MODES = nil + global._CONFIGS = nil +end + -- dump the configure function global.dump() if not option.get("quiet") then |
