require 'rubygems' require 'rake' require 'bump' require 'fileutils' require 'git-version-bump/rake-tasks' require "bundler/gem_tasks" begin Bundler.setup(:default, :development) rescue Bundler::BundlerError => e warn e.message warn 'Run `bundle install` to install missing gems' exit e.status_code end require 'rake/testtask' Rake::TestTask.new(:test) do |test| test.libs << 'lib' << 'test' test.pattern = 'test/*_test.rb' test.verbose = true end desc 'Code coverage detail' task :simplecov do ENV['COVERAGE'] = 'true' Rake::Task['test'].execute end task default: :test