Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

29 lines (22 sloc) 0.501 kb
require 'rake'
require 'rake/testtask'
require 'rcov/rcovtask'
Rake::TestTask.new do |t|
t.libs << 'lib'
t.pattern = 'test/**/*_test.rb'
t.verbose = false
end
begin
require 'yard'
YARD::Rake::YardocTask.new(:yardoc)
rescue LoadError
task :yardoc do
abort "YARD is not available. In order to run yard, you must: sudo gem install yard"
end
end
Rcov::RcovTask.new do |t|
t.libs << "test"
t.test_files = FileList['test/*_test.rb']
t.verbose = true
end
task :default => :rcov
Jump to Line
Something went wrong with that request. Please try again.