|
Re: Executing a task before each task is executed?: msg#00087lang.ruby.capistrano.general
On Thu, 2007-11-15 at 14:10 +0530, Saurabh Nanda wrote: > Is there a way I can specify a task which will be execute before each > task? If I have ten different tasks, I don't want to end up writing > ten different :before_* tasks. You could use: on :load do puts 'first!' end There are more 'global events' supported. Check this post: http://weblog.jamisbuck.org/2007/5/11/capistrano-2-0-preview-2 Gr Gert |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Executing a task before each task is executed?: 00087, Saurabh Nanda |
|---|---|
| Next by Date: | Re: Deploying multiple projects/applications: 00087, Jamis Buck |
| Previous by Thread: | Executing a task before each task is executed?i: 00087, Saurabh Nanda |
| Next by Thread: | Basis Remote SysAdmin Tasks: 00087, TB |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |