From 475d622a1a4841af3f0420b8bbb3984b4257a3e3 Mon Sep 17 00:00:00 2001 From: ruki Date: Tue, 29 Dec 2015 15:01:57 +0800 Subject: show full error info for -v --- xmake/scripts/action/_build.lua | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'xmake/scripts/action/_build.lua') 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 -- cgit v1.3.1