diff options
| author | ruki <[email protected]> | 2016-11-07 09:15:11 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-11-07 09:15:11 +0800 |
| commit | c2f463a161a717fb71ee12281e6715dfcff276e2 (patch) | |
| tree | 913be770ad0b04dac2735e87f3b59b1c17d24414 /xmake/core/main.lua | |
| parent | 093cad888c4f66571ec4d7845b9810ae51db5054 (diff) | |
avoid to generate unnecessary .xmake directory
Diffstat (limited to 'xmake/core/main.lua')
| -rw-r--r-- | xmake/core/main.lua | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xmake/core/main.lua b/xmake/core/main.lua index ee336b118..ffd2b123e 100644 --- a/xmake/core/main.lua +++ b/xmake/core/main.lua @@ -113,14 +113,14 @@ function main.done() return -1 end - -- save command lines to history - history.save("cmdlines", option.cmdline()) - -- run help? if main._help() then return 0 end + -- save command lines to history + history.save("cmdlines", option.cmdline()) + -- run task local ok, errors = task.run(option.taskname() or "build") if not ok then |
