Permalink
Browse files

capify-generated Capfile will autoload all recipes from vendor/plugin…

…s/*/recipes/*.rb

git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@7391 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information...
1 parent 250530b commit 46ddf6af0757316586f439917c74ab3304d35173 @jamis jamis committed Sep 1, 2007
Showing with 3 additions and 0 deletions.
  1. +2 −0 CHANGELOG
  2. +1 −0 bin/capify
View
@@ -1,5 +1,7 @@
*SVN*
+* capify-generated Capfile will autoload all recipes from vendor/plugins/*/recipes/*.rb [Graeme Mathieson]
+
* Use sudo -p switch to set sudo password prompt to something predictable [Mike Bailey]
* Allow independent configurations to require the same recipe file [Jamis Buck]
View
@@ -37,6 +37,7 @@ end
files = {
"Capfile" => unindent(<<-FILE),
load 'deploy' if respond_to?(:namespace) # cap2 differentiator
+ Dir['vendor/plugins/*/recipes/*.rb'].each { |plugin| load(plugin) }
load 'config/deploy'
FILE

0 comments on commit 46ddf6a

Please sign in to comment.