Skip to content

Instantly share code, notes, and snippets.

@textarcana
Forked from oddlyzen/gist:81195
Created March 18, 2009 15:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save textarcana/81208 to your computer and use it in GitHub Desktop.
Save textarcana/81208 to your computer and use it in GitHub Desktop.
namespace :rdoc do
desc "Generate RDocs for ZepInvest (exluding RESTful Authentication Plugin)"
task :generate do
puts "Generating RDocs for ZepInvest (exluding RESTful Authentication Plugin)"
`rdoc --exclude restful_authentication -o zepdocs ; open zepdocs/index.html`
puts "DONE!"
end
desc "Remove old docs and regenerate RDocs for ZepInvest (exluding RESTful Authentication Plugin)"
task :regenerate do
puts "Removing old docs..."
`rm -rf zepdocs`
puts "COMPLETED!"
puts "Regenerating RDocs for ZepInvest (exluding RESTful Authentication Plugin)..."
`rdoc --exclude restful_authentication -o zepdocs ; open zepdocs/index.html`
puts "DONE!"
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment