Rakefile in critic-0.1.1 vs Rakefile in critic-0.2.0

- old
+ new

@@ -1,7 +1,15 @@ # frozen_string_literal: true require 'bundler/gem_tasks' require 'rspec/core/rake_task' +require 'rubocop/rake_task' RSpec::Core::RakeTask.new(:spec) task default: :spec + +desc 'Run rubocop' +task :rubocop do + task = RuboCop::RakeTask.new + task.patterns = ['lib/**/*.rb'] + task +end