Sha256: 7383879fc2a1e7902218a6a7b3618617eaaeb26d9379c36d82ce489a5808baac

Contents?: true

Size: 217 Bytes

Versions: 4

Compression:

Stored size: 217 Bytes

Contents

begin
  require 'rubocop/rake_task'

  RuboCop::RakeTask.new(:rubocop) do |task|
    task.patterns = ['lib/**/*.rb']
  end
rescue LoadError
  warn "Could not load RuboCop. RuboCop rake tasks will be unavailable."
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
nanoc-3.7.3 tasks/rubocop.rake
nanoc-3.7.2 tasks/rubocop.rake
nanoc-3.7.1 tasks/rubocop.rake
nanoc-3.7.0 tasks/rubocop.rake