diff options
author | murphy <murphy@rubychan.de> | 2005-10-29 04:44:54 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2005-10-29 04:44:54 +0000 |
commit | 840e80d149a2c5651b71f87c6627e475d5401e04 (patch) | |
tree | 18554a92c7a98fd2de2bfaa79c3bf1ccc645c003 | |
parent | 996de449cd5130ca3f073ad241464359c4d6d4fa (diff) | |
download | coderay-840e80d149a2c5651b71f87c6627e475d5401e04.tar.gz |
Rakefile: added test, debug and benchmark tasks.
-rw-r--r-- | Rakefile | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -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
|