16 lines
318 B
Ruby
16 lines
318 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'bundler/gem_tasks'
|
|
|
|
require 'rspec/core/rake_task'
|
|
RSpec::Core::RakeTask.new(:spec) do |spec|
|
|
spec.rspec_opts = ['--color', '--format d']
|
|
end
|
|
|
|
require 'rubocop/rake_task'
|
|
RuboCop::RakeTask.new(:rubocop) do |task|
|
|
task.options = ['-D', '--parallel']
|
|
end
|
|
|
|
task default: :spec
|