Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 29 lines (24 sloc) 0.655 kB
4bab4cf @remiprev Add spec and doc stuff
authored
1 require "bundler"
2 Bundler.require :development
3
689d8e8 @remiprev Initial commit
authored
4 require "bundler/gem_tasks"
4bab4cf @remiprev Add spec and doc stuff
authored
5 require "rspec/core/rake_task"
6
7 task :default => :spec
8
9 desc "Run all specs"
10 RSpec::Core::RakeTask.new(:spec) do |task| # {{{
11 task.pattern = "spec/**/*_spec.rb"
12 task.rspec_opts = "--colour --format=documentation"
13 end # }}}
14
15 desc "Generate YARD Documentation"
16 YARD::Rake::YardocTask.new do |task| # {{{
17 task.options = [
18 "-o", File.expand_path("../doc", __FILE__),
19 "--readme=README.md",
20 "--markup=markdown",
21 "--markup-provider=maruku",
22 "--no-private",
23 "--no-cache",
24 "--protected",
25 "--title=Her",
26 ]
27 task.files = ["lib/**/*.rb"]
28 end # }}}
Something went wrong with that request. Please try again.