Rakefile in geokit-1.6.5 vs Rakefile in geokit-1.6.6
- old
+ new
@@ -1,10 +1,17 @@
require "bundler/gem_tasks"
require 'rake/testtask'
-task :default => :test
+task :default do
+end
Rake::TestTask.new do |t|
t.libs << "test"
t.test_files = FileList['test/test*.rb']
t.verbose = true
+end
+
+desc "Generate SimpleCov test coverage and open in your browser"
+task :coverage do
+ ENV['COVERAGE'] = 'true'
+ Rake::Task['test'].invoke
end