diff options
author | murphy <murphy@rubychan.de> | 2008-01-12 18:04:27 +0000 |
---|---|---|
committer | murphy <murphy@rubychan.de> | 2008-01-12 18:04:27 +0000 |
commit | 2ec1b9399186f32d36d549eb1f915f9ab4e61647 (patch) | |
tree | 51c2070b0487ddaa3747d10aaf083b256c410e39 /Rakefile | |
parent | e127b7d57b06554e708752bbbc2a85e833633c26 (diff) | |
download | coderay-2ec1b9399186f32d36d549eb1f915f9ab4e61647.tar.gz |
- fixed a bug in coderay_suite (break outside of loop?)
- made test and bench tasks run with all implementations
- included term/ansicolor in lib (will need in some day anyway) as svn:external
(this also means that tests will be colorful on all rubys)
- incremented CodeRay version number (we're near...)
Diffstat (limited to 'Rakefile')
-rw-r--r-- | Rakefile | 27 |
1 files changed, 18 insertions, 9 deletions
@@ -11,20 +11,28 @@ def EXTRA_FILES.in folder end end -for task_file in Dir['rake_tasks/*.rake'] - load task_file -end - -task :default => 'gem:make' +task :default => :test task :upload => %w( gem:upload doc:upload example:upload ) +def ruby command + params = + if RUBY == 'rbx' + '-I/usr/local/lib/ruby/1.8' + else + '-w' + end + cmd = "#{RUBY} #{params} #{command}" + puts cmd + system cmd +end + task '19' do RUBY.replace 'ruby19' end task '18' do - RUBY.replace '18ruby' + RUBY.replace 'ruby' end task 'yarv' do @@ -39,6 +47,7 @@ task 'rubinius' do RUBY.replace 'rbx' end -if ruby = ENV['ruby'] - RUBY.replace ruby -end
\ No newline at end of file +for task_file in Dir['rake_tasks/*.rake'] + load task_file +end + |