Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
tree: 78196bf1e6
Fetching contributors…

Cannot retrieve contributors at this time

28 lines (22 sloc) 0.59 kB
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
require 'bundler'
Bundler::GemHelper.install_tasks
desc 'Generate API documentation to doc/rdocs/index.html'
Rake::RDocTask.new do |rd|
rd.rdoc_dir = 'doc'
rd.main = 'README.md'
rd.rdoc_files.include "README.md", "LICENSE", "lib/**/*\.rb"
rd.options << '--inline-source'
rd.options << '--line-numbers'
rd.options << '--all'
rd.options << '--fileboxes'
end
desc "Run tests"
Rake::TestTask.new do |t|
t.libs << "test"
t.test_files = FileList['test/**/*.rb']
t.verbose = true
end
task :default => :test
Jump to Line
Something went wrong with that request. Please try again.