Skip to content
Find file
Fetching contributors…
Cannot retrieve contributors at this time
15 lines (13 sloc) 509 Bytes
require 'rake'
require 'rake/testtask'
require 'rake/rdoctask'
desc 'Generate RDoc documentation for the Gibberish plugin.'
Rake::RDocTask.new(:rdoc) do |rdoc|
files = ['README', 'LICENSE', 'lib/**/*.rb']
rdoc.rdoc_files.add(files)
rdoc.main = "README" # page to start on
rdoc.title = "gibberish"
rdoc.template = File.exists?(t="/Users/chris/ruby/projects/err/rock/template.rb") ? t : "/var/www/rock/template.rb"
rdoc.rdoc_dir = 'doc' # rdoc output folder
rdoc.options << '--inline-source'
end
Something went wrong with that request. Please try again.