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

brew-test-bot: only force fetch with --cleanup.

parent f3821364
No related branches found
No related tags found
No related merge requests found
......@@ -256,7 +256,9 @@ class Test
end
test "brew fetch #{dependencies}" unless dependencies.empty?
test "brew fetch --force --build-bottle #{formula}"
formula_fetch_options = "--build-bottle"
formula_fetch_options << " --force" if ARGV.include? '--cleanup'
test "brew fetch #{formula_fetch_options} #{formula}"
test "brew uninstall --force #{formula}" if formula_object.installed?
install_args = '--verbose --build-bottle'
install_args << ' --HEAD' if ARGV.include? '--HEAD'
......
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