test-bot: readd missing --build-bottle.

This commit is contained in:
Mike McQuaid 2015-10-14 18:52:20 +01:00
parent 362da26ff6
commit aeea953270

View File

@ -547,11 +547,13 @@ module Homebrew
test "brew", "postinstall", *changed_dependences
end
formula_fetch_options = []
formula_fetch_options << "--build-bottle" unless ARGV.include? "--fast"
formula_fetch_options << "--force" if ARGV.include? "--cleanup"
formula_fetch_options << canonical_formula_name
test "brew", "fetch", "--retry", *formula_fetch_options
test "brew", "uninstall", "--force", canonical_formula_name if formula.installed?
install_args = ["--verbose"]
install_args << "--build-bottle" unless ARGV.include? "--fast"
install_args << "--HEAD" if ARGV.include? "--HEAD"
# Pass --devel or --HEAD to install in the event formulae lack stable. Supports devel-only/head-only.