aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Homebrew/cmd/command.rb
diff options
context:
space:
mode:
authorDaniel Trebbien2015-11-19 07:54:27 -0500
committerMike McQuaid2015-11-25 16:49:58 +0000
commitaf10515f81384470629ac591196200ae02d81762 (patch)
treecfe9c70f548fbaf023165493b5744c3e9c5db146 /Library/Homebrew/cmd/command.rb
parent1855dd1da8d0896501aa68efa065528fb2e84f97 (diff)
downloadbrew-af10515f81384470629ac591196200ae02d81762.tar.bz2
Skip pouring from a bottle if --cc is passed
A formula should be built from source by default if the --cc option is passed to specify a particular compiler. Added a test to test_formula_installer: test_not_poured_from_bottle_when_compiler_specified Modified test_formula_installer to assert that the formula was not poured from a bottle. Similarly modified test_formula_installer_bottle to assert that the formula *was* installed from a bottle. Added an install method to the TestballBottle formula (the same as the Testball formula's install method) so that the TestballBottle formula can be "built from source". Fixes Homebrew/homebrew#46046 - Build from source should be the default behavior if --cc option is passed Closes Homebrew/homebrew#46162. Signed-off-by: Mike McQuaid <mike@mikemcquaid.com>
Diffstat (limited to 'Library/Homebrew/cmd/command.rb')
0 files changed, 0 insertions, 0 deletions