Show minirake backtrace in verbose mode.

parent fd9617ca
...@@ -550,7 +550,7 @@ class RakeApp ...@@ -550,7 +550,7 @@ class RakeApp
puts "rake aborted!" puts "rake aborted!"
$rake_failed.each do |ex| $rake_failed.each do |ex|
puts ex.message puts ex.message
if $trace if $trace || $verbose
puts ex.backtrace.join("\n") puts ex.backtrace.join("\n")
else else
puts ex.backtrace.find {|str| str =~ /#{@rakefile}/ } || "" puts ex.backtrace.find {|str| str =~ /#{@rakefile}/ } || ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment