diff options
| author | ruki <[email protected]> | 2015-05-14 16:10:38 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2015-05-14 16:10:38 +0800 |
| commit | a2c560f7c2f1f4501516d39225d5afdd06dc9c55 (patch) | |
| tree | df065551823a4903e04e5a246734618d89b68405 /xmake/scripts/base/project.lua | |
| parent | b303b16817e3773c729f2cd1096d685b491db75b (diff) | |
rename _ROOT to _CONFIGS
Diffstat (limited to 'xmake/scripts/base/project.lua')
| -rw-r--r-- | xmake/scripts/base/project.lua | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xmake/scripts/base/project.lua b/xmake/scripts/base/project.lua index e208ea726..5ed4229f0 100644 --- a/xmake/scripts/base/project.lua +++ b/xmake/scripts/base/project.lua @@ -101,8 +101,8 @@ function project(name) assert(name) -- init the root scope, must be only one project - if not _ROOT then - _ROOT = {} + if not _CONFIGS then + _CONFIGS = {} else -- error utils.error("the project: %s is redundant!", name) @@ -110,10 +110,10 @@ function project(name) end -- init the project name - _ROOT.name = name + _CONFIGS.name = name -- init the current scope - current = _ROOT + current = _CONFIGS current._PARENT = nil end |
