summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
authormurphy <murphy@rubychan.de>2005-10-29 04:44:54 +0000
committermurphy <murphy@rubychan.de>2005-10-29 04:44:54 +0000
commit840e80d149a2c5651b71f87c6627e475d5401e04 (patch)
tree18554a92c7a98fd2de2bfaa79c3bf1ccc645c003 /Rakefile
parent996de449cd5130ca3f073ad241464359c4d6d4fa (diff)
downloadcoderay-840e80d149a2c5651b71f87c6627e475d5401e04.tar.gz
Rakefile: added test, debug and benchmark tasks.
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index f15a4fe..a49e07d 100644
--- a/Rakefile
+++ b/Rakefile
@@ -49,6 +49,16 @@ task :test do
system 'ruby -w ./test/suite.rb'
end
+desc 'Test CodeRay with debugging'
+task :debug do
+ system 'ruby -w -d ./test/suite.rb'
+end
+
+desc 'Do a benchmark'
+task :bench do
+ system 'ruby -wIlib \bench\bench.rb ruby html 0'
+end
+
def gemspec
Gem::Specification.new do |s|
# Basic Information