Permalink
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (13 sloc) 358 Bytes
require 'rubygems'
require 'rspec/core/rake_task'
require 'yard'
desc "Run all examples"
RSpec::Core::RakeTask.new(:spec) do |t|
#t.rspec_path = 'bin/rspec'
t.rspec_opts = %w[--color]
end
YARD::Rake::YardocTask.new do |t|
t.files = ['lib/**/*.rb', 'README.rdoc']
#t.options = ['--any', '--extra', '--opts'] # optional
end
task :default => :spec