Sha256: 508efdad818575874652819a54eb4c7ad03175081b5aa990d7cc0f478fcb6f96
Contents?: true
Size: 536 Bytes
Versions: 14
Compression:
Stored size: 536 Bytes
Contents
require "bundler/gem_tasks" desc "Update ctags" task :ctags do `ctags -R --languages=Ruby --totals -f tags` end desc "Test against all ruby versions" task :rbenv_suite do %w(2.1.2 2.0.0-p481 1.9.3-p545).each do |ruby_ver| child_pid = fork do ruby_path = File.join ENV['RBENV_ROOT'], 'shims/ruby' cmd = "#{ruby_path} bin/test_runner ; echo" puts "Testing #{ruby_ver}" env = { 'RBENV_VERSION' => ruby_ver } exec env, cmd end Process.wait2 child_pid end end task :default => :rbenv_suite
Version data entries
14 entries across 14 versions & 1 rubygems