Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (22 sloc) 0.519 kB
require 'rake/testtask'
task :default => :test
task :test do
sh "bacon -Ilib -Itest --automatic --quiet"
end
#Rake::TestTask.new(:test) do |t|
# t.libs << 'lib' << 'test'
# t.pattern = 'test/**/test_*.rb'
# t.verbose = false
#end
begin
require 'rcov/rcovtask'
Rcov::RcovTask.new do |t|
t.libs << 'lib' << 'test'
t.pattern = 'test/**/test_*.rb'
t.verbose = false
end
rescue LoadError
task :rcov do
abort "RCov is not available. In order to run rcov, you must: gem install rcov"
end
end
Jump to Line
Something went wrong with that request. Please try again.