require 'bundler/gem_tasks' require 'rake/testtask' require 'rubocop/rake_task' RuboCop::RakeTask.new do |t| t.options = %w(--display-cop-names --extra-details --display-style-guide) end Rake::TestTask.new(:test) do |t| t.libs << 'test' t.libs << 'lib' t.test_files = FileList['test/**/*_test.rb'] end task default: %i(test rubocop)