diff options
| author | ruki <[email protected]> | 2016-03-22 20:24:24 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-03-22 20:24:31 +0800 |
| commit | aca0257d26134ff95889acb419d49701fee4ec61 (patch) | |
| tree | c1a2f332156aba8295b0522fa70f08783e9633c6 /xmake/core/project/config.lua | |
| parent | c1460e5be7f4b4e3356a8bda99703828c356cbfb (diff) | |
impl lua action
Diffstat (limited to 'xmake/core/project/config.lua')
| -rw-r--r-- | xmake/core/project/config.lua | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/xmake/core/project/config.lua b/xmake/core/project/config.lua index 1942ca5e6..58c04b256 100644 --- a/xmake/core/project/config.lua +++ b/xmake/core/project/config.lua @@ -151,10 +151,8 @@ end -- load the project configure function config.load(targetname) - -- check - if not targetname then - return false, "no target name!" - end + -- get the target name + targetname = targetname or "all" -- load configure from the file first local filepath = config._file() |
