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.
This commit is contained in:
parent
f4a8d28819
commit
3551977fb3
@ -755,6 +755,10 @@ module Homebrew
|
|||||||
safe_system "brew", "untap", tap
|
safe_system "brew", "untap", tap
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Formula.installed.each do |formula|
|
||||||
|
safe_system "brew", "uninstall", "--force", formula
|
||||||
|
end
|
||||||
|
|
||||||
unless @repository == HOMEBREW_REPOSITORY
|
unless @repository == HOMEBREW_REPOSITORY
|
||||||
HOMEBREW_REPOSITORY.cd do
|
HOMEBREW_REPOSITORY.cd do
|
||||||
safe_system "git", "checkout", "-f", "master"
|
safe_system "git", "checkout", "-f", "master"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user