git://git.eng.unimelb.edu.au
/
ruby_koans.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17fb071
)
Added rake task for running koans against several rubies.
author
Jim Weirich
<jim.weirich@gmail.com>
Mon, 27 Sep 2010 17:46:21 +0000
(13:46 -0400)
committer
Jim Weirich
<jim.weirich@gmail.com>
Mon, 27 Sep 2010 17:46:21 +0000
(13:46 -0400)
rakelib/run.rake
[new file with mode: 0644]
patch
|
blob
diff --git a/rakelib/run.rake
b/rakelib/run.rake
new file mode 100644
(file)
index 0000000..
6d52f61
--- /dev/null
+++ b/
rakelib/run.rake
@@ -0,0
+1,7
@@
+RUBIES = ENV['KOAN_RUBIES'] || %w(ruby-1.8.7-p299,ruby-1.9.2-p0,jruby-1.5.2,jruby-head)
+
+task :runall do
+ chdir('src') do
+ sh "rvm #{RUBIES} path_to_enlightenment.rb"
+ end
+end