diff options
| author | Mike McQuaid | 2015-09-19 08:19:49 +0100 |
|---|---|---|
| committer | Mike McQuaid | 2015-09-19 08:19:49 +0100 |
| commit | e34033310a11803690eadda4a3d745e39d9f0995 (patch) | |
| tree | d9454bfc75f179241bb3ab2569faad1eae5415be /Library | |
| parent | 359cdafb861fa8e4c65b308f103a56533b5f26ab (diff) | |
| download | brew-e34033310a11803690eadda4a3d745e39d9f0995.tar.bz2 | |
test-bot: optionally disable verbose install.
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Homebrew/cmd/test-bot.rb | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/Library/Homebrew/cmd/test-bot.rb b/Library/Homebrew/cmd/test-bot.rb index d1f662b13..bde98e49d 100644 --- a/Library/Homebrew/cmd/test-bot.rb +++ b/Library/Homebrew/cmd/test-bot.rb @@ -18,6 +18,7 @@ # --dry-run: Just print commands, don't run them. # --fail-fast: Immediately exit on a failing step. # --verbose: Print out all logs in realtime +# --no-verbose-install: Don't run `brew install` with `--verbose`. # # --ci-master: Shortcut for Homebrew master branch CI options. # --ci-pr: Shortcut for Homebrew pull request CI options. @@ -531,7 +532,8 @@ module Homebrew formula_fetch_options << canonical_formula_name test "brew", "fetch", "--retry", *formula_fetch_options test "brew", "uninstall", "--force", canonical_formula_name if formula.installed? - install_args = %w[--verbose] + install_args = [] + install_args << "--verbose" unless ARGV.include? "--no-verbose-install" install_args << "--build-bottle" unless ARGV.include? "--no-bottle" install_args << "--HEAD" if ARGV.include? "--HEAD" |
