Merge pull request #1017 from MikeMcQuaid/test-bot-uninstall

test-bot: uninstall all formula on cleanup.
This commit is contained in:
Mike McQuaid 2016-09-18 20:17:35 +01:00 committed by GitHub
commit ef4159f188

View File

@ -755,6 +755,10 @@ module Homebrew
safe_system "brew", "untap", tap
end
Formula.installed.each do |formula|
safe_system "brew", "uninstall", "--force", formula
end
unless @repository == HOMEBREW_REPOSITORY
HOMEBREW_REPOSITORY.cd do
safe_system "git", "checkout", "-f", "master"