# vim:fileencoding=utf-8 require 'bundler/gem_tasks' require 'rspec/core/rake_task' require 'rubocop/rake_task' task default: [:rubocop, :coverage] RSpec::Core::RakeTask.new desc 'Run specs with coverage' task :coverage do ENV['COVERAGE'] = '1' Rake::Task['spec'].invoke end RuboCop::RakeTask.new