Added rake task to generate the yardoc (rake yard)

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3630 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
Eric Davis 2010-04-09 23:42:41 +00:00
parent 77795d41ba
commit f3e3752759
1 changed files with 11 additions and 0 deletions

11
lib/tasks/yardoc.rake Normal file
View File

@ -0,0 +1,11 @@
begin
require 'yard'
YARD::Rake::YardocTask.new do |t|
t.files = ['lib/**/*.rb', 'app/**/*.rb', 'vendor/plugins/**/*.rb']
end
rescue LoadError
# yard not installed (gem install yard)
# http://yardoc.org
end