brew-test-bot: add --dry-run mode.

This commit is contained in:
Mike McQuaid 2014-09-15 14:22:58 +01:00
parent e717508b7b
commit babcad25e3

View File

@ -13,6 +13,7 @@
# --HEAD: Run brew install with --HEAD
# --local: Ask Homebrew to write verbose logs under ./logs/
# --tap=<tap>: Use the git repository of the given tap
# --dry-run: Just print commands, don't run them.
#
# --ci-master: Shortcut for Homebrew master branch CI options.
# --ci-pr: Shortcut for Homebrew pull request CI options.
@ -99,6 +100,11 @@ class Step
def run
puts_command
if ARGV.include? "--dry-run"
puts
@status = :passed
return
end
start_time = Time.now