aboutsummaryrefslogtreecommitdiffstats
path: root/Library/Contributions/cmd
diff options
context:
space:
mode:
authorMike McQuaid2013-06-20 13:38:56 +0100
committerMike McQuaid2013-06-20 13:38:56 +0100
commit13cfc013f4deefdcff13976c7388e7125bb06385 (patch)
treec82fa0ed652b2f05a0c4a4af21461f9acd40ed15 /Library/Contributions/cmd
parent01e5e428eb2078e1618d2bf35ecf5e4f4a84ca0d (diff)
downloadbrew-13cfc013f4deefdcff13976c7388e7125bb06385.tar.bz2
brew-test-bot: uninstall formula if already installed.
Diffstat (limited to 'Library/Contributions/cmd')
-rwxr-xr-xLibrary/Contributions/cmd/brew-test-bot.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/Library/Contributions/cmd/brew-test-bot.rb b/Library/Contributions/cmd/brew-test-bot.rb
index 2b9fada1c..baf0e9c93 100755
--- a/Library/Contributions/cmd/brew-test-bot.rb
+++ b/Library/Contributions/cmd/brew-test-bot.rb
@@ -250,6 +250,7 @@ class Test
test "brew audit #{formula}"
test "brew fetch #{dependencies}" unless dependencies.empty?
test "brew fetch --build-bottle #{formula}"
+ test "brew uninstall #{formula}" if formula_object.installed?
test "brew install --verbose #{dependencies}" unless dependencies.empty?
test "brew install --verbose --build-bottle #{formula}"
return unless steps.last.passed?