brew-test-bot: force dep fetches on cleanup.

This commit is contained in:
Mike McQuaid 2014-02-22 17:01:38 +00:00
parent b96411052e
commit a35fb6a192

View File

@ -274,7 +274,9 @@ class Test
test "brew install apple-gcc42" test "brew install apple-gcc42"
end end
test "brew fetch #{dependencies}" unless dependencies.empty? deps_fetch_options = " "
deps_fetch_options << " --force" if ARGV.include? '--cleanup'
test "brew fetch#{deps_fetch_options} #{dependencies}" unless dependencies.empty?
formula_fetch_options = " " formula_fetch_options = " "
formula_fetch_options << " --build-bottle" unless ARGV.include? '--no-bottle' formula_fetch_options << " --build-bottle" unless ARGV.include? '--no-bottle'
formula_fetch_options << " --force" if ARGV.include? '--cleanup' formula_fetch_options << " --force" if ARGV.include? '--cleanup'