Hi-

I would like to execute several commands that each depend on each
other.  For example, "cleanup" depends on "deploy" completing and
"deploy" depends on "stage" completing.

I have separate tasks defined for each of these, but when I try to add
them into a single task to run them all, sometimes files don't exist
when deploying because "stage" did not finish executing, etc.

Seems like an ideal situation for "before" but all the examples I have
seen only show "before" being used with 2 tasks (e.g. before("task2",
"task1")

Is there a way to chain multiple events that have dependencies on each
other using the "before" task?

Thanks!

-- 
* You received this message because you are subscribed to the Google Groups 
"Capistrano" group.
* To post to this group, send email to [email protected]
* To unsubscribe from this group, send email to 
[email protected] For more options, visit this group at 
http://groups.google.com/group/capistrano?hl=en

Reply via email to