mirror of
https://github.com/varvet/pundit.git
synced 2022-11-09 12:30:11 -05:00
16 lines
345 B
Ruby
16 lines
345 B
Ruby
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']
|
|
#t.options = ['--any', '--extra', '--opts'] # optional
|
|
end
|
|
|
|
task :default => [:spec]
|