1
0
Fork 0
mirror of https://github.com/capistrano/capistrano synced 2023-03-27 23:21:18 -04:00

capify-generated Capfile will autoload all recipes from vendor/plugins/*/recipes/*.rb

git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@7391 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jamis Buck 2007-09-01 15:03:58 +00:00
parent 250530b225
commit 46ddf6af07
2 changed files with 3 additions and 0 deletions

View file

@ -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 file

@ -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