1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

Make bacon respect $VERBOSE env var (default=off)

This commit is contained in:
☈king 2012-12-20 07:49:20 -06:00 committed by rking@sharpsaw.org
parent 3663559291
commit 666f3663e0

View file

@ -55,7 +55,8 @@ unless [].respond_to? :shuffle!
end
def run_specs paths
exec "bacon -Ispec -rubygems -q #{paths.join ' '}"
quiet = ENV['VERBOSE'] ? '' : '-q'
exec "bacon -Ispec -rubygems #{quiet} #{paths.join ' '}"
end
desc "Run tests"