Sha256: 23f9743e344ac5b178f263f43a47d1df9766bb41782444cbce1cf36c8d8c77c7

Contents?: true

Size: 493 Bytes

Versions: 1

Compression:

Stored size: 493 Bytes

Contents

require 'rake/testtask'
require 'reek/rake/task'
require 'rubocop/rake_task'

task default: %i(test rubocop reek)

Rake::TestTask.new do |task|
  task.pattern = 'test/**/*_test.rb'
  task.warning = true
end

Reek::Rake::Task.new do |task|
  task.fail_on_error = false
end

RuboCop::RakeTask.new do |task|
  task.options << '--display-cop-names'
  if Gem.loaded_specs['rubocop'].version > Gem::Version.create('0.31.0')
    fail 'remove Performance/Sample exclusion from .rubocop.yml'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
signore-0.4.0 Rakefile