diff options
| author | Mike McQuaid | 2013-07-17 18:12:14 -0700 |
|---|---|---|
| committer | Mike McQuaid | 2013-07-18 09:56:54 -0700 |
| commit | 810005156e865d4ed289ba6259252785d79d0a1c (patch) | |
| tree | 0ded51ec2325771320af9bb8fdca162dc77b8741 /Library | |
| parent | f526bd5017d6347680180d32d15b73206576ce05 (diff) | |
| download | brew-810005156e865d4ed289ba6259252785d79d0a1c.tar.bz2 | |
brew-test-bot: add devel/HEAD install options.
Diffstat (limited to 'Library')
| -rwxr-xr-x | Library/Contributions/cmd/brew-test-bot.rb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/Library/Contributions/cmd/brew-test-bot.rb b/Library/Contributions/cmd/brew-test-bot.rb index 4b5deb19c..772ceee63 100755 --- a/Library/Contributions/cmd/brew-test-bot.rb +++ b/Library/Contributions/cmd/brew-test-bot.rb @@ -8,6 +8,8 @@ # --skip-setup: Don't check the local system is setup correctly. # --junit: Generate a JUnit XML test results file. # --email: Generate an email subject file. +# --HEAD: Run brew install with --HEAD +# --devel: Run brew install with --devel require 'formula' require 'utils' @@ -256,7 +258,10 @@ class Test test "brew fetch #{dependencies}" unless dependencies.empty? test "brew fetch --force --build-bottle #{formula}" test "brew uninstall --force #{formula}" if formula_object.installed? - test "brew install --verbose --build-bottle #{formula}" + install_args = '--verbose --build-bottle' + install_args << ' --HEAD' if ARGV.include? '--HEAD' + install_args << ' --devel' if ARGV.include? '--devel' + test "brew install #{install_args} #{formula}" install_passed = steps.last.passed? test "brew audit #{formula}" return unless install_passed |
