add manpage

This commit is contained in:
David Dollar
2010-06-23 18:17:55 -04:00
parent 6811a8d96a
commit 922eb7438e
4 changed files with 184 additions and 0 deletions

View File

@@ -23,6 +23,14 @@ Rspec::Core::RakeTask.new("rcov:build") do |t|
t.rcov_opts = [ "--exclude", Gem.default_dir , "--exclude", "spec" ]
end
desc 'Build the manual'
task :man do
require 'ronn'
ENV['RONN_MANUAL'] = "Foreman Manual"
ENV['RONN_ORGANIZATION'] = "Foreman #{Foreman::VERSION}"
sh "ronn -w -s toc -r5 --markdown man/*.ronn"
end
######################################################
begin