diff options
| author | ruki <[email protected]> | 2015-05-27 08:31:36 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2015-05-27 08:31:36 +0800 |
| commit | 0e3df610b7db95590a9ad32eccfc7b2b2319b128 (patch) | |
| tree | 306336b11034e115f68dd74df2b0d1ee9a6d44ee /xmake/scripts/action/_global.lua | |
| parent | f4562609df7ac3f395e5178e76fcefa2c1ffa980 (diff) | |
modify platform interfaces
Diffstat (limited to 'xmake/scripts/action/_global.lua')
| -rw-r--r-- | xmake/scripts/action/_global.lua | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/xmake/scripts/action/_global.lua b/xmake/scripts/action/_global.lua index d911a3ba2..fc4113aff 100644 --- a/xmake/scripts/action/_global.lua +++ b/xmake/scripts/action/_global.lua @@ -26,26 +26,10 @@ local _global = _global or {} -- load modules local utils = require("base/utils") local global = require("base/global") -local platform = require("platform/platform") -- done the given config function _global.done() - -- wrap the global configure for more convenient to get and set values - local global_wrapped = {} - setmetatable(global_wrapped, - { - __index = function(tbl, key) - return global.get(key) - end, - __newindex = function(tbl, key, val) - global.set(key, val) - end - }) - - -- probe the global configure - platform.probe(global_wrapped, true) - -- dump global global.dump() |
