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

document the start/finish and load/exit callbacks. Capfile doesn't need capistrano/version.

git-svn-id: http://svn.rubyonrails.org/rails/tools/capistrano@6737 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
This commit is contained in:
Jamis Buck 2007-05-15 14:56:24 +00:00
parent 5df46ce901
commit 68b274e06b
2 changed files with 4 additions and 1 deletions

View file

@ -36,7 +36,6 @@ end
files = {
"Capfile" => unindent(<<-FILE),
require 'capistrano/version'
load 'deploy' if respond_to?(:namespace) # cap2 differentiator
load 'config/deploy'
FILE

View file

@ -77,6 +77,10 @@ module Capistrano
#
# * :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