Rakefile in signore-0.1.2 vs Rakefile in signore-0.2.0

- old
+ new

@@ -1,16 +1,18 @@ require 'rake/testtask' +require 'reek/rake/task' +require 'rubocop/rake_task' +task default: %i[spec rubocop reek] + Rake::TestTask.new :spec do |task| task.test_files = FileList['spec/**/*_spec.rb'] + task.warning = true end -desc 'Run signore console' -task :console do - require 'irb' - require_relative 'lib/signore' - include Signore - ARGV.clear - IRB.start +Reek::Rake::Task.new do |task| + task.config_files = 'config/reek.yml' + task.fail_on_error = false + task.reek_opts = '--quiet' end -task default: :spec +Rubocop::RakeTask.new