diff options
Diffstat (limited to 'xmake/scripts/base/config.lua')
| -rw-r--r-- | xmake/scripts/base/config.lua | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/xmake/scripts/base/config.lua b/xmake/scripts/base/config.lua index d6f6d9625..eebe805bb 100644 --- a/xmake/scripts/base/config.lua +++ b/xmake/scripts/base/config.lua @@ -337,6 +337,17 @@ function config.clearup() end +-- reload configure +function config.reload() + + -- clear the old configure + config._CURRENT = nil + config._CONFIGS = nil + + -- load it + return config.load() +end + -- dump the current configure function config.dump() |
