9 lines
196 B
Ruby
9 lines
196 B
Ruby
require "bundler/gem_tasks"
|
|
require "rspec/core/rake_task"
|
|
|
|
RSpec::Core::RakeTask.new(:spec) do |task|
|
|
task.rspec_opts = ["--require", "simplecov"] if ENV['COVERAGE']
|
|
end
|
|
|
|
task :default => :spec
|