From 840e80d149a2c5651b71f87c6627e475d5401e04 Mon Sep 17 00:00:00 2001 From: murphy Date: Sat, 29 Oct 2005 04:44:54 +0000 Subject: Rakefile: added test, debug and benchmark tasks. --- Rakefile | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 -- cgit v1.2.1