1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00

The *_plugindoc Rake tasks look deeper into the plugins' lib directories. Closes #2652.

git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2819 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jeremy Kemper 2005-10-29 23:04:10 +00:00
parent 68160b3485
commit eaf296f8fc
2 changed files with 5 additions and 3 deletions

View file

@ -1,6 +1,8 @@
*SVN*
* The PostgreSQL :db_structure_dump task limits its dump to the schema search path in database.yml. [Anatol Pomozov <anatol.pomozov@gmail.com>]
* The *_plugindoc Rake tasks look deeper into the plugins' lib directories. #2652 [bellis@deepthought.org]
* The PostgreSQL :db_structure_dump Rake task limits its dump to the schema search path in database.yml. [Anatol Pomozov <anatol.pomozov@gmail.com>]
* Add task to generate rdoc for all installed plugins. [Marcel Molina]

View file

@ -19,14 +19,14 @@ Plugins.each do |plugin|
options << '--line-numbers --inline-source'
options << '-T html'
files.include("#{plugin_base}/lib/*.rb")
files.include("#{plugin_base}/lib/**/*.rb")
if File.exists?("#{plugin_base}/README")
files.include("#{plugin_base}/README")
options << "--main '#{plugin_base}/README'"
end
files.include("#{plugin_base}/CHANGELOG") if File.exists?("#{plugin_base}/CHANGELOG")
options << files.to_s
options << files.to_s
sh %(rdoc #{options * ' '})
end