Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

16 lines (13 sloc) 0.405 kb
require 'rake/testtask'
require 'rake/clean'
require 'rcov/rcovtask'
require 'rcov/version'
desc "Run the unit tests with rcovrt."
Rake::TestTask.new(:test_rcovrt) do |t|
system("cd ext/rcovrt && make clean && rm Makefile")
system("cd ext/rcovrt && ruby extconf.rb && make")
t.libs << "ext/rcovrt"
t.test_files = FileList['test/*_test.rb']
t.verbose = true
end
task :default => [:test_rcovrt]
Jump to Line
Something went wrong with that request. Please try again.