summaryrefslogtreecommitdiff
path: root/xmake/core/base
diff options
context:
space:
mode:
authorruki <[email protected]>2018-12-11 22:40:23 +0800
committerruki <[email protected]>2018-12-11 10:02:21 +0800
commite429d90d867a8919b0480d1838f0d7d2bab94f27 (patch)
tree4b5b39725eb08309687e0515ef0b0095a741fc00 /xmake/core/base
parente9a6a15b91e979ef855749be60c1ddd50823b9d5 (diff)
add xmake g --menu
Diffstat (limited to 'xmake/core/base')
-rw-r--r--xmake/core/base/global.lua6
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