Skip to content
Snippets Groups Projects
Commit ef4159f1 authored by Mike McQuaid's avatar Mike McQuaid Committed by GitHub
Browse files

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

test-bot: uninstall all formula on cleanup.
parents f4a8d288 3551977f
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