Rakefile 489 Bytes
# frozen_string_literal: true

require 'bundler/gem_tasks'
require 'rake/testtask'
require 'rubocop/rake_task'

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]

task :console do
  require 'irb'
  require 'irb/completion'
  require 'pry'
  require 'yaml'
  require 'syspro'
  ARGV.clear
  IRB.start
end

RuboCop::RakeTask.new(:rubocop) do |t|
  t.options = ['--display-cop-names']
end