Sha256: 1f08deb2bf515d0b169deb973d2a6be1f38d32b1bbcb8e03864f9d6a18d0330e

Contents?: true

Size: 407 Bytes

Versions: 4

Compression:

Stored size: 407 Bytes

Contents

begin
  require "rubocop/rake_task"

  Rake::Task[:default].enhance [:rubocop]

  RuboCop::RakeTask.new do |task|
    task.options << "--display-cop-names"
  end

  namespace :rubocop do
    desc 'Generate a configuration file acting as a TODO list.'
    task :auto_gen_config do
      exec "bundle exec rubocop --auto-gen-config"
    end
  end

rescue LoadError # rubocop:disable Lint/HandleExceptions
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
rom-yesql-0.5.1 rakelib/rubocop.rake
rom-yesql-0.5.0 rakelib/rubocop.rake
rom-yesql-0.4.0 rakelib/rubocop.rake
rom-yesql-0.3.0 rakelib/rubocop.rake