Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (13 sloc) 379 Bytes
require 'bundler'
Bundler::GemHelper.install_tasks
begin
require 'rspec/core/rake_task'
desc 'Run specs'
RSpec::Core::RakeTask.new do |t|
t.rcov = true
t.rcov_opts = ['--sort coverage --text-summary --sort-reverse']
t.rcov_opts << "--comments --exclude spec,pkg,#{ENV['GEM_HOME']}"
end
rescue LoadError
puts 'RSpec not available, try a bundle install'
end
Jump to Line
Something went wrong with that request. Please try again.