summaryrefslogtreecommitdiff
path: root/Rakefile
diff options
context:
space:
mode:
Diffstat (limited to 'Rakefile')
-rw-r--r--Rakefile17
1 files changed, 17 insertions, 0 deletions
diff --git a/Rakefile b/Rakefile
index 4b21ccb..13de5d7 100644
--- a/Rakefile
+++ b/Rakefile
@@ -2,6 +2,7 @@ require 'rake_helpers/ftp.rb'
ROOT = '.'
LIB_ROOT = File.join ROOT, 'lib'
+RUBY = ENV.fetch 'ruby', 'ruby'
EXTRA_FILES = %w(README FOLDERS)
def EXTRA_FILES.in folder
@@ -17,3 +18,19 @@ end
task :default => 'gem:make'
task :upload => %w( gem:upload doc:upload example:upload )
+
+task '19' do
+ RUBY.replace 'ruby19'
+end
+
+task '18' do
+ RUBY.replace '18ruby'
+end
+
+task 'yarv' do
+ RUBY.replace 'ruby-yarv'
+end
+
+if ruby = ENV['ruby']
+ RUBY.replace ruby
+end \ No newline at end of file