On 8/7/07, jemminger <[EMAIL PROTECTED]> wrote:
>
> great, thanks for your help!
>
> > (Note, though, that in cap2, the after_* method of extending tasks is
> > deprecated. You'd use the "after" keyword instead.)
>
> can you give an example or point me to the documentation?
Instead of declaring a task named "after_update_code", you could do this:
task :something_to_do do
# ...
end
after "deploy:update_code", :something_to_do
You can chain as many tasks as you want that way. Similarly, "before"
will hook a task onto the front of the named task.
- Jamis
>
>
> >
>
--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---