Sha256: 6bac92105eee378038ba6d458d922268a535e166865edf33137ba5b52f90efa3

Contents?: true

Size: 367 Bytes

Versions: 3

Compression:

Stored size: 367 Bytes

Contents

require 'rubocop/rake_task'

desc 'Rub RoboCop on the lib and spec directory'
RuboCop::RakeTask.new(:rubocop_dev) do |task|
  task.patterns = ['lib/**/*.rb', 'spec/**/*.rb']
  task.fail_on_error = false
end

RuboCop::RakeTask.new(:rubocop_test) do |task|
  task.patterns = ['lib/**/*.rb', 'spec/**/*.rb']
  task.formatters = ['files']
  task.fail_on_error = true
end

Version data entries

3 entries across 3 versions & 2 rubygems

Version Path
ceph_storage-0.1.1 tasks/rubocop.rake
ceph_storage-0.1.0 tasks/rubocop.rake
ceph-ruby-livelink-1.5.1 tasks/rubocop.rake