#!/usr/bin/env rake
# Add your own tasks in files placed in lib/tasks ending in .rake,
# for example lib/tasks/capistrano.rake, and they will automatically be available to Rake.
require File.expand_path('../config/application', __FILE__)
DMPonline4::Application.load_tasks
RDoc::Task.new :rdoc do |rdoc|
rdoc.main = "README.rdoc"
rdoc.rdoc_files.include("README.rdoc", "doc/*.rdoc", "app/**/*.rb", "lib/*.rb", "config/**/*.rb")
#change above to fit needs
rdoc.title = "DMPonline4 Documentation"
rdoc.options << "--all"
end
YARD::Rake::YardocTask.new do |t|
t.files = ['app/models/*.rb', OTHER_PATHS] # optional
t.options = ['--any', '--extra', '--opts'] # optional
t.stats_options = ['--list-undoc'] # optional
end