Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 9e5e328e0b
Fetching contributors…

Cannot retrieve contributors at this time

22 lines (19 sloc) 0.462 kb
# Specs
require 'rake/testtask'
Rake::TestTask.new(:spec) do |spec|
spec.libs << 'lib' << 'spec'
spec.pattern = 'spec/**/*_spec.rb'
spec.verbose = true
end
begin
require 'rcov/rcovtask'
Rcov::RcovTask.new do |spec|
spec.libs << 'spec'
spec.pattern = 'spec/**/*_spec.rb'
spec.verbose = true
end
rescue LoadError
task :rcov do
abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
end
end
Jump to Line
Something went wrong with that request. Please try again.