Permalink
Browse files

stable merge of [3069]

git-svn-id: http://svn-commit.rubyonrails.org/rails/branches/stable@3070 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent d212f03 commit 37664eb90c66651557387cf64874754bb3f1210d Tobias Lütke committed Nov 17, 2005
Showing with 3 additions and 3 deletions.
  1. +3 −3 railties/lib/tasks/documentation.rake
View
6 railties/lib/tasks/documentation.rake
@@ -7,9 +7,9 @@ Rake::RDocTask.new("appdoc") { |rdoc|
rdoc.rdoc_files.include('app/**/*.rb')
}
-Plugins = FileList['vendor/plugins/**'].map {|plugin| File.basename(plugin)}
+plugins = FileList['vendor/plugins/**'].map {|plugin| File.basename(plugin)}
# Define doc tasks for each plugin
-Plugins.each do |plugin|
+plugins.each do |plugin|
task :"#{plugin}_plugindoc" => :environment do
plugin_base = "vendor/plugins/#{plugin}"
options = []
@@ -33,7 +33,7 @@ Plugins.each do |plugin|
end
desc "Generate documation for all installed plugins"
-task :plugindoc => Plugins.map {|plugin| :"#{plugin}_plugindoc"}
+task :plugindoc => plugins.map {|plugin| :"#{plugin}_plugindoc"}
desc "Remove plugin documentation"
task :clobber_plugindoc do

0 comments on commit 37664eb

Please sign in to comment.