Rakefile in halo-reach-api-1.0.2 vs Rakefile in halo-reach-api-1.0.3
- old
+ new
@@ -38,16 +38,20 @@
test.libs << 'test'
test.pattern = 'test/**/test_*.rb'
test.verbose = true
end
-task :default => :test
-
require 'rake/rdoctask'
Rake::RDocTask.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
rdoc.rdoc_dir = 'rdoc'
rdoc.title = "halo-reach-api #{version}"
rdoc.rdoc_files.include('README*')
rdoc.rdoc_files.include('lib/**/*.rb')
end
+
+task :default => :test_rubies
+
+task :test_rubies do
+ system "rvm 1.8.7@halo-reach-api_gem,1.9.2@halo-reach-api_gem rake test"
+end
\ No newline at end of file