| 1 |
# frozen_string_literal: true |
| 2 |
|
| 3 |
require 'rspec/core/rake_task' |
| 4 |
require 'rubocop/rake_task' |
| 5 |
|
| 6 |
RSpec::Core::RakeTask.new(:spec) |
| 7 |
RuboCop::RakeTask.new |
| 8 |
|
| 9 |
task default: %i[spec rubocop] |
| 10 |
|
| 11 |
desc 'Run mutation tests (requires mutant-rspec gem)' |
| 12 |
task :mutant do |
| 13 |
sh 'mutant run' |
| 14 |
end |