summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2008-12-25 03:27:00 +0000
committermurphy <murphy@rubychan.de>2008-12-25 03:27:00 +0000
commit361e3dceea924c275af09b299b2a13d8b1a19fd4 (patch)
tree98b47ffc6060ecdd3d693b904ac9810bc2ff607b /Rakefile
parent222fb240c0596a7b82260a4a8c2cd8ce8caf92b4 (diff)
downloadcoderay-361e3dceea924c275af09b299b2a13d8b1a19fd4.tar.gz
Less verbose rake output, but with Ruby version.
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/Rakefile b/Rakefile
index 6c34589..89bb637 100644
--- a/Rakefile
+++ b/Rakefile
@@ -1,5 +1,7 @@
require 'rake_helpers/ftp.rb'
+verbose false
+
ROOT = '.'
LIB_ROOT = File.join ROOT, 'lib'
RUBY = ENV.fetch 'ruby', 'ruby'
@@ -23,7 +25,7 @@ def ruby command
'-w'
end
cmd = "#{RUBY} #{params} #{command}"
- puts cmd
+ puts cmd if verbose
system cmd
end