Skip to content
This repository
Fetching contributors…

Cannot retrieve contributors at this time

file 28 lines (24 sloc) 0.658 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
require "bundler"
Bundler.require :development

require "bundler/gem_tasks"
require "rspec/core/rake_task"

task :default => :spec

desc "Run all specs"
RSpec::Core::RakeTask.new(:spec) do |task| # {{{
  task.pattern = "spec/**/*_spec.rb"
  task.rspec_opts = "--colour --format=documentation"
end # }}}

desc "Generate YARD Documentation"
YARD::Rake::YardocTask.new do |task| # {{{
  task.options = [
    "-o", File.expand_path("../doc", __FILE__),
    "--readme=README.md",
    "--markup=markdown",
    "--markup-provider=redcarpet",
    "--no-private",
    "--no-cache",
    "--protected",
    "--title=Her",
  ]
  task.files = ["lib/**/*.rb"]
end # }}}
Something went wrong with that request. Please try again.