oddlyzen
3/18/2009 - 3:35 PM

gistfile1.rb

namespace :rdoc do
  
  desc "Generate RDocs for ZepInvest (exluding RESTful Authentication Plugin)"
  task :generate do
    `rdoc --exclude restful_authentication -o zepdocs ; open zepdocs/index.html`
  end
  
  desc "Remove old docs and regenerate RDocs for ZepInvest (exluding RESTful Authentication Plugin)"
  task :regenerate do
    `rm -rf zepdocs`
    `rdoc --exclude restful_authentication -o zepdocs ; open zepdocs/index.html`
  end
  
end