diff options
| author | ruki <[email protected]> | 2015-12-29 15:01:57 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2015-12-29 15:01:57 +0800 |
| commit | 475d622a1a4841af3f0420b8bbb3984b4257a3e3 (patch) | |
| tree | 2c6f567b6d507266158e6f4f68748060215a6f1e | |
| parent | ad9b35fd836a38d72c39efc112300ab5d92503ba (diff) | |
show full error info for -v
| -rw-r--r-- | xmake/scripts/action/_build.lua | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/xmake/scripts/action/_build.lua b/xmake/scripts/action/_build.lua index 7fc7ce4ed..bf660eab5 100644 --- a/xmake/scripts/action/_build.lua +++ b/xmake/scripts/action/_build.lua @@ -102,7 +102,11 @@ function _build.done() if not makefile.build(target_name) then -- error print("") - io.tail(rule.logfile(), 32) + if options.verbose then + io.cat(rule.logfile()) + else + io.tail(rule.logfile(), 32) + end utils.error("build target: %s failed!\n", target_name) return false end |
