12 lines
173 B
Ruby
12 lines
173 B
Ruby
# frozen_string_literal: true
|
|
|
|
begin
|
|
require 'rubocop/rake_task'
|
|
rescue LoadError => e
|
|
warn e
|
|
end
|
|
|
|
RuboCop::RakeTask.new if defined?(RuboCop)
|
|
|
|
task default: %i[rubocop]
|