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