Always output formula information on build errors
This commit is contained in:
parent
ce5d4a3b03
commit
162716f3fb
@ -166,11 +166,9 @@ class BuildError < RuntimeError
|
|||||||
require 'cmd/config'
|
require 'cmd/config'
|
||||||
require 'cmd/--env'
|
require 'cmd/--env'
|
||||||
|
|
||||||
unless formula.core_formula?
|
|
||||||
ohai "Formula"
|
ohai "Formula"
|
||||||
puts "Tap: #{formula.tap}"
|
puts "Tap: #{formula.tap}" if formula.tap?
|
||||||
puts "Path: #{formula.path}"
|
puts "Path: #{formula.path}"
|
||||||
end
|
|
||||||
ohai "Configuration"
|
ohai "Configuration"
|
||||||
Homebrew.dump_verbose_config
|
Homebrew.dump_verbose_config
|
||||||
ohai "ENV"
|
ohai "ENV"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user