You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
require "bundler/gem_tasks"
|
|
require "rspec/core/rake_task"
|
|
|
|
RSpec::Core::RakeTask.new(:spec) do |task|
|
|
begin
|
|
require('simplecov/version')
|
|
task.rspec_opts = %w{--require simplecov} if ENV['COVERAGE']
|
|
rescue LoadError
|
|
end
|
|
end
|
|
|
|
task :default => :spec
|