Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Tree: 5fac619ddc
Fetching contributors…

Cannot retrieve contributors at this time

26 lines (21 sloc) 0.632 kB
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
desc 'Default: run unit tests.'
task :default => :test
desc 'Test the Apotomo plugin.'
Rake::TestTask.new(:test) do |t|
t.libs << 'lib'
t.pattern = 'test/**/test_*.rb'
t.verbose = true
end
desc 'Generate documentation for Apotomo.'
Rake::RDocTask.new(:rdoc) do |rdoc|
rdoc.rdoc_dir = 'rdoc'
rdoc.title = 'Apotomo API'
rdoc.options << '--line-numbers' << '--inline-source' << '-m README'
rdoc.rdoc_files.include('lib/**/*.rb')
rdoc.rdoc_files.include('app/**/*.rb')
rdoc.rdoc_files.include('test/*.rb')
rdoc.rdoc_files.include('README')
end
Jump to Line
Something went wrong with that request. Please try again.