Rakefile in agile_utils-0.0.2 vs Rakefile in agile_utils-0.0.4

- old
+ new

@@ -17,5 +17,15 @@ require_relative 'lib/agile_utils' include AgileUtils ARGV.clear Pry.start end + +require 'rubocop/rake_task' +desc 'Run RuboCop on the lib directory' +Rubocop::RakeTask.new(:rubocop) do |task| + task.patterns = ['lib/**/*.rb'] + # only show the files with failures + task.formatters = ['files'] + # don't abort rake on failure + task.fail_on_error = false +end