Skip to content
Snippets Groups Projects
Commit 3551977f authored by Mike McQuaid's avatar Mike McQuaid
Browse files

test-bot: uninstall all formula on cleanup.

Need to do this manually now that we can't rely on `git clean -xdf` to
do it for us.
parent f4a8d288
No related branches found
No related tags found
No related merge requests found
......@@ -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"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment