Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

32 lines (26 sloc) 0.622 kb
#!/usr/bin/env rake
require 'bundler/gem_tasks'
begin
require 'rspec/core/rake_task'
desc 'Run specs'
RSpec::Core::RakeTask.new do |t|
t.rspec_opts = %w(--color)
t.verbose = false
end
rescue LoadError
task :spec do
abort 'install rspec to run specs ($ bundle install)'
end
end
begin
require 'yard'
YARD::Rake::YardocTask.new(:doc) do |t|
#t.files = ['lib/**/*.rb', OTHER_PATHS] # optional
#t.options = ['--any', '--extra', '--opts'] # optional
end
rescue LoadError
task :doc do
raise 'YARD is not installed. Please, run: gem install yard'
end
end
task default: :spec
Jump to Line
Something went wrong with that request. Please try again.