Permalink
Switch branches/tags
Find file
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (14 sloc) 340 Bytes
require 'rubygems'
require 'rake'
require "bundler/gem_tasks"
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new(:spec)
task :default => :spec
begin
require 'yard'
YARD::Rake::YardocTask.new
rescue LoadError
task :yardoc do
abort "YARD is not available. In order to run yardoc, you must: sudo gem install yard"
end
end