require 'bundler/gem_tasks'

require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec) do |t|
  t.verbose = false unless ENV.key?('CI')
end

require 'rubocop/rake_task'
RuboCop::RakeTask.new(:rubocop)
task default: [:spec, :rubocop]
