Install: add BuildToolsError and BuildFlagsError
Add these new errors, and guards in formula installation and cmd/{,un,re}install to match, move can_build? to the MacOS module, flatten conditions, remove redundant can_build? check reinstate removed (doctor) check
Showing
- Library/Homebrew/cmd/install.rb 12 additions, 6 deletionsLibrary/Homebrew/cmd/install.rb
- Library/Homebrew/cmd/reinstall.rb 8 additions, 0 deletionsLibrary/Homebrew/cmd/reinstall.rb
- Library/Homebrew/cmd/upgrade.rb 8 additions, 0 deletionsLibrary/Homebrew/cmd/upgrade.rb
- Library/Homebrew/exceptions.rb 94 additions, 0 deletionsLibrary/Homebrew/exceptions.rb
- Library/Homebrew/extend/ARGV.rb 13 additions, 0 deletionsLibrary/Homebrew/extend/ARGV.rb
- Library/Homebrew/formula_installer.rb 4 additions, 0 deletionsLibrary/Homebrew/formula_installer.rb
- Library/Homebrew/os/mac.rb 4 additions, 0 deletionsLibrary/Homebrew/os/mac.rb
Loading
Please register or sign in to comment