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/main.lua | |
| parent | b303b16817e3773c729f2cd1096d685b491db75b (diff) | |
rename _ROOT to _CONFIGS
Diffstat (limited to 'xmake/scripts/base/main.lua')
| -rw-r--r-- | xmake/scripts/base/main.lua | 15 |
1 files changed, 8 insertions, 7 deletions
diff --git a/xmake/scripts/base/main.lua b/xmake/scripts/base/main.lua index 7754f1d6b..04d3d9e52 100644 --- a/xmake/scripts/base/main.lua +++ b/xmake/scripts/base/main.lua @@ -60,7 +60,7 @@ local menu = , {'r', "rebuild", "k", nil, "Rebuild the project." } , {} - , {'f', "file", "kv", "xmake.xproj", "Read a given xmake.xproj file." } + , {'f', "file", "kv", "xmake.xproj","Read a given xmake.xproj file." } , {'P', "project", "kv", nil, "Change to the given project directory." , "Search priority:" , " 1. the given command argument" @@ -94,7 +94,7 @@ local menu = , options = { {'n', "name", "kv", nil, "The project name." } - , {'f', "file", "kv", "xmake.xproj", "Create a given xmake.xproj file." } + , {'f', "file", "kv", "xmake.xproj","Create a given xmake.xproj file." } , {'P', "project", "kv", nil, "Create from the given project directory." , "Search priority:" , " 1. the given command argument" @@ -173,7 +173,7 @@ local menu = , {nil, "arflags", "kv", nil, "The library creator flags" } , {} - , {'f', "file", "kv", "xmake.xproj", "Read a given xmake.xproj file." } + , {'f', "file", "kv", "xmake.xproj","Read a given xmake.xproj file." } , {'P', "project", "kv", nil, "Change to the given project directory." , "Search priority:" , " 1. the given command argument" @@ -206,7 +206,7 @@ local menu = -- options , options = { - {'f', "file", "kv", "xmake.xproj", "Read a given xmake.xproj file." } + {'f', "file", "kv", "xmake.xproj","Read a given xmake.xproj file." } , {'P', "project", "kv", nil, "Change to the given project directory." , "Search priority:" , " 1. the given command argument" @@ -239,7 +239,7 @@ local menu = -- options , options = { - {'f', "file", "kv", "xmake.xproj", "Read a given xmake.xproj file." } + {'f', "file", "kv", "xmake.xproj","Read a given xmake.xproj file." } , {'P', "project", "kv", nil, "Change to the given project directory." , "Search priority:" , " 1. the given command argument" @@ -295,8 +295,6 @@ function main._done_option() errors = string.format("load %s failed!", options.file) end - utils.dump(project._ROOT, "", "_PARENT") - -- done help if options.help then @@ -330,6 +328,9 @@ function main._done_option() -- save project xmake._PROJECT = project + -- dump project configs +-- utils.dump(xmake._PROJECT._CONFIGS, "", "_PARENT") + -- done action return action.done(options._ACTION or "build") end |
