Permalink
Fetching contributors…
Cannot retrieve contributors at this time
22 lines (16 sloc) 362 Bytes
require 'bundler'
Bundler::GemHelper.install_tasks
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
task :test => :spec
require 'yard'
YARD::Rake::YardocTask.new
begin
require 'rubocop/rake_task'
RuboCop::RakeTask.new
rescue LoadError
task :rubocop do
$stderr.puts 'RuboCop is disabled'
end
end
task :default => [:spec, :rubocop]