summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
author☈king <rking@sharpsaw.org>2012-12-20 07:49:20 -0600
committerrking@sharpsaw.org <>2012-12-20 07:50:07 -0600
commit666f3663e0129b4328abc5ad1f809cdb169224e0 (patch)
tree3a9895a8dbb91682a1f0cf54111acad2f2ce69b0 /Rakefile
parent36635592919293f10f69076a91b6b0e0ae200455 (diff)
downloadpry-666f3663e0129b4328abc5ad1f809cdb169224e0.tar.gz
Make bacon respect $VERBOSE env var (default=off)
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 1cb89aa6..d5d226f7 100644
--- a/Rakefile
+++ b/Rakefile
@@ -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"