test-bot: skip bottling if it's unneeded
This commit is contained in:
parent
d20d08b5fe
commit
c4067cf8bb
@ -582,7 +582,7 @@ module Homebrew
|
|||||||
audit_args << "--strict" << "--online" if @added_formulae.include? formula_name
|
audit_args << "--strict" << "--online" if @added_formulae.include? formula_name
|
||||||
test "brew", "audit", *audit_args
|
test "brew", "audit", *audit_args
|
||||||
if install_passed
|
if install_passed
|
||||||
if formula.stable? && !ARGV.include?("--fast")
|
if formula.stable? && !ARGV.include?("--fast") && !formula.bottle_disabled?
|
||||||
bottle_args = ["--verbose", "--rb", canonical_formula_name]
|
bottle_args = ["--verbose", "--rb", canonical_formula_name]
|
||||||
bottle_args << "--keep-old" if ARGV.include? "--keep-old"
|
bottle_args << "--keep-old" if ARGV.include? "--keep-old"
|
||||||
test "brew", "bottle", *bottle_args
|
test "brew", "bottle", *bottle_args
|
||||||
|
Loading…
x
Reference in New Issue
Block a user