Rakefile in agile_utils-0.1.3 vs Rakefile in agile_utils-0.1.4
- old
+ new
@@ -6,13 +6,11 @@
Rake::TestTask.new do |t|
t.libs << "lib/#{project_name}"
t.test_files = FileList["test/lib/#{project_name}/test_*.rb"]
t.verbose = true
end
-
task default: :test
-
task :pry do
require "pry"
require "awesome_print"
require_relative "lib/agile_utils"
include AgileUtils
@@ -20,12 +18,10 @@
Pry.start
end
require "rubocop/rake_task"
desc "Run RuboCop on the lib directory"
-Rubocop::RakeTask.new(:rubocop) do |task|
+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