Rakefile in transitions-1.0.1 vs Rakefile in transitions-1.1.0
- old
+ new
@@ -1,10 +1,11 @@
require 'bundler/gem_tasks'
require 'appraisal'
require 'rake/testtask'
require 'rubocop/rake_task'
+require 'reek/rake/task'
Rake::TestTask.new(:test) do |test|
test.libs = %w(lib test)
test.pattern = 'test/**/test_*.rb'
test.verbose = true
@@ -13,7 +14,8 @@
RuboCop::RakeTask.new do |task|
task.options << '--display-cop-names'
task.patterns = ['lib/**/*.rb']
end
-task default: :test
-task default: :rubocop
+Reek::Rake::Task.new
+
+task default: [:test, :reek, :rubocop]