require 'bundler/gem_tasks' require 'bundler/setup' require 'rake/testtask' Rake::TestTask.new(:test) do |t| t.libs << 'lib' t.libs << 'test' t.pattern = 'test/**/*_test.rb' t.verbose = false end require 'rubocop/rake_task' RuboCop::RakeTask.new(:rubocop) task default: %i[rubocop test]