diff options
| author | Daniel Trebbien | 2015-11-19 07:54:27 -0500 |
|---|---|---|
| committer | Mike McQuaid | 2015-11-25 16:49:58 +0000 |
| commit | af10515f81384470629ac591196200ae02d81762 (patch) | |
| tree | cfe9c70f548fbaf023165493b5744c3e9c5db146 /Library/Homebrew/cmd/command.rb | |
| parent | 1855dd1da8d0896501aa68efa065528fb2e84f97 (diff) | |
| download | brew-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
