aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
Diffstat (limited to 'Library')
-rwxr-xr-xLibrary/Contributions/cmd/brew-test-bot.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Contributions/cmd/brew-test-bot.rb b/Library/Contributions/cmd/brew-test-bot.rb
index 772ceee63..5ef11db69 100755
--- a/Library/Contributions/cmd/brew-test-bot.rb
+++ b/Library/Contributions/cmd/brew-test-bot.rb
@@ -256,7 +256,9 @@ class Test
end
test "brew fetch #{dependencies}" unless dependencies.empty?
- test "brew fetch --force --build-bottle #{formula}"
+ formula_fetch_options = "--build-bottle"
+ formula_fetch_options << " --force" if ARGV.include? '--cleanup'
+ test "brew fetch #{formula_fetch_options} #{formula}"
test "brew uninstall --force #{formula}" if formula_object.installed?
install_args = '--verbose --build-bottle'
install_args << ' --HEAD' if ARGV.include? '--HEAD'