diff options
| author | Adam Vandenberg | 2013-06-23 16:15:11 -0700 |
|---|---|---|
| committer | Adam Vandenberg | 2013-06-24 07:33:29 -0700 |
| commit | 29847b54aa38cfa06517ffdfa5a7b1b070fc59a8 (patch) | |
| tree | d0d89a709d9bcffeaf4f91eabf95a7e80c000501 /Library/Homebrew/exceptions.rb | |
| parent | d8d41ccabcb78258bae1df50c3a6148f3811fc5d (diff) | |
| download | homebrew-29847b54aa38cfa06517ffdfa5a7b1b070fc59a8.tar.bz2 | |
Show tap/path for non-core formulae on build failure
Closes #16373.
Closes #20725.
Diffstat (limited to 'Library/Homebrew/exceptions.rb')
| -rw-r--r-- | Library/Homebrew/exceptions.rb | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Library/Homebrew/exceptions.rb b/Library/Homebrew/exceptions.rb index 71ce3eccd..612e4b705 100644 --- a/Library/Homebrew/exceptions.rb +++ b/Library/Homebrew/exceptions.rb @@ -173,6 +173,12 @@ class BuildError < Homebrew::InstallationError else require 'cmd/--config' require 'cmd/--env' + + unless formula.core_formula? + ohai "Formula" + puts "Tap: #{formula.tap}" unless formula.tap == "mxcl/master" # tap lies about non-tap externals + puts "Path: #{formula.path.realpath}" + end ohai "Configuration" Homebrew.dump_build_config ohai "ENV" |
