Skip to content

Commit

Permalink
document the start/finish and load/exit callbacks. Capfile doesn't ne…
Browse files Browse the repository at this point in the history
…ed capistrano/version.

git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@6737 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
  • Loading branch information
jamis committed May 15, 2007
1 parent 5df46ce commit 68b274e
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
1 change: 0 additions & 1 deletion bin/capify
Expand Up @@ -36,7 +36,6 @@ end

files = {
"Capfile" => unindent(<<-FILE),
require 'capistrano/version'
load 'deploy' if respond_to?(:namespace) # cap2 differentiator
load 'config/deploy'
FILE
Expand Down
4 changes: 4 additions & 0 deletions lib/capistrano/configuration/callbacks.rb
Expand Up @@ -77,6 +77,10 @@ def after(task_name, *args, &block)
#
# * :before, triggered before a task is invoked
# * :after, triggered after a task is invoked
# * :start, triggered before a top-level task is invoked via the command-line
# * :finish, triggered when a top-level task completes
# * :load, triggered after all recipes have loaded
# * :exit, triggered after all tasks have completed
#
# Specify the (fully-qualified) task names that you want invoked in
# response to the event. Alternatively, you can specify a block to invoke
Expand Down

0 comments on commit 68b274e

Please sign in to comment.