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


--~--~---------~--~----~------------~-------~--~----~
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/capistrano
-~----------~----~----~----~------~----~------~--~---

Reply via email to