Permalink
Fetching contributors…
Cannot retrieve contributors at this time
28 lines (23 sloc) 549 Bytes
require "bundler"
Bundler::GemHelper.install_tasks
require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
test.libs << 'test'
test.pattern = 'test/**/test_*.rb'
test.verbose = true
end
begin
require 'rcov/rcovtask'
Rcov::RcovTask.new do |test|
test.libs << 'test'
test.pattern = 'test/**/test_*.rb'
test.verbose = true
end
rescue LoadError
task :rcov do
abort "RCov is not available. In order to run rcov, you must: sudo install rcov"
end
end
require 'yard'
YARD::Rake::YardocTask.new
task :default => :test