diff options
Diffstat (limited to 'xmake/scripts')
| -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 |
