Sha256: 6743b11c22f0b631fefef0279a6cfef6e981329c8ea98ac8e76f912fe43a9cb1

Contents?: true

Size: 232 Bytes

Versions: 5

Compression:

Stored size: 232 Bytes

Contents

# frozen_string_literal: true

begin
  require 'rubocop/rake_task'

  RuboCop::RakeTask.new

  task lint: :rubocop
rescue LoadError => e
  task :lint do
    abort e.message unless Rails.env.development? || Rails.env.test?
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
adminos-1.0.0.pre.rc.5 lib/generators/templates/ci/rakelib/lint.rake
adminos-1.0.0.pre.rc.4 lib/generators/templates/ci/rakelib/lint.rake
adminos-1.0.0.pre.rc.3 lib/generators/templates/ci/rakelib/lint.rake
adminos-1.0.0.pre.rc.2 lib/generators/templates/ci/rakelib/lint.rake
adminos-1.0.0.pre.rc.1 lib/generators/templates/ci/rakelib/lint.rake