Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Fetching contributors…

Cannot retrieve contributors at this time

31 lines (24 sloc) 0.735 kb
require 'rubygems'
require 'rake'
require 'bundler'
Bundler::GemHelper.install_tasks
require 'rake/testtask'
Rake::TestTask.new(:test) do |test|
test.libs << 'spec'
test.pattern = 'spec/**/*_spec.rb'
test.verbose = true
end
require 'rcov/rcovtask'
Rcov::RcovTask.new do |test|
test.libs << 'spec'
test.pattern = 'spec/**/*_spec.rb'
test.rcov_opts += ['--exclude \/Library\/Ruby,spec\/', '--xrefs']
test.verbose = true
end
require 'yard'
YARD::Tags::Library.define_tag 'Blather handler', :handler, :with_name
YARD::Templates::Engine.register_template_path 'yard/templates'
YARD::Rake::YardocTask.new(:doc) do |t|
t.options = ['--no-private', '-m', 'markdown', '-o', './doc/public/yard']
end
task :default => :test
Jump to Line
Something went wrong with that request. Please try again.