Set VERBOSE and HOMEBREW_LOG in brew sh

This commit is contained in:
Max Howell 2012-08-31 14:12:14 -04:00
parent 30b53cf92a
commit 8a9073fa42

View File

@ -9,13 +9,16 @@ module Homebrew extend self
end end
ENV.setup_build_environment ENV.setup_build_environment
ENV['PS1'] = 'brew \[\033[1;32m\]\w\[\033[0m\]$ ' ENV['PS1'] = 'brew \[\033[1;32m\]\w\[\033[0m\]$ '
ENV['VERBOSE'] = '1'
ENV['HOMEBREW_LOG'] = '1'
puts <<-EOS.undent_________________________________________________________72 puts <<-EOS.undent_________________________________________________________72
Your shell has been configured to use Homebrew's build environment: this Your shell has been configured to use Homebrew's build environment:
should help you build stuff. Notably though, the system versions of gem this should help you build stuff. Notably though, the system versions of
and pip will ignore our configuration and insist on using the gem and pip will ignore our configuration and insist on using the
environment they were built under (mostly). Sadly, scons will also environment they were built under (mostly). Sadly, scons will also
ignore our configuration. ignore our configuration.
When done, type `exit'. All toolchain use will be logged to: ~/Library/Homebrew/Logs/cc.log
When done, type `exit'.
EOS EOS
exec ENV['SHELL'] exec ENV['SHELL']
end end