aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorMike McQuaid2014-02-22 17:01:38 +0000
committerMike McQuaid2014-02-22 17:01:38 +0000
commit6ced7e7c6b7aa7b702fe2efe23d8feebaed3aab9 (patch)
treed4cf4c682c3ef851449c6aead4da2b4bc74856ba /Library
parentf413a8f76323710c1e06cf720a2ab093b7790599 (diff)
downloadhomebrew-6ced7e7c6b7aa7b702fe2efe23d8feebaed3aab9.tar.bz2
brew-test-bot: force dep fetches on cleanup.
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 11887cf7a..906ad72d0 100755
--- a/Library/Contributions/cmd/brew-test-bot.rb
+++ b/Library/Contributions/cmd/brew-test-bot.rb
@@ -274,7 +274,9 @@ class Test
test "brew install apple-gcc42"
end
- test "brew fetch #{dependencies}" unless dependencies.empty?
+ deps_fetch_options = " "
+ deps_fetch_options << " --force" if ARGV.include? '--cleanup'
+ test "brew fetch#{deps_fetch_options} #{dependencies}" unless dependencies.empty?
formula_fetch_options = " "
formula_fetch_options << " --build-bottle" unless ARGV.include? '--no-bottle'
formula_fetch_options << " --force" if ARGV.include? '--cleanup'