Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Newer
Older
100644 28 lines (23 sloc) 0.604 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 end # }}}
13
14 desc "Generate YARD Documentation"
15 YARD::Rake::YardocTask.new do |task| # {{{
16 task.options = [
17 "-o", File.expand_path("../doc", __FILE__),
18 "--readme=README.md",
19 "--markup=markdown",
4293bf9 @remiprev Add API documentation
authored
20 "--markup-provider=redcarpet",
4bab4cf @remiprev Add spec and doc stuff
authored
21 "--no-private",
22 "--no-cache",
23 "--protected",
24 "--title=Her",
25 ]
26 task.files = ["lib/**/*.rb"]
27 end # }}}
Something went wrong with that request. Please try again.