Wes, As Lee mentioned, Capistrano has it's own syntax. That syntax is strongly influenced by Rake, but is not semantically identical. Specifically, Capistrano tasks do not form a dependency graph. Rather, tasks are chained declaratively, using the before() and after() hooks that Lee mentioned.
- Jamis On Oct 27, 2008, at 9:54 AM, Wes Gamble wrote: > > All, > > I tried to set a dependency on a cap task like so: > > task :cap_generate_draft_invoice_files => :load_fixtures do > > but cap doesn't seem to like it. This syntax is fine for plain rake > tasks? > > Aren't cap tasks just rake tasks? > > How do you set a dependency between two cap tasks? > > Wes > > > --~--~---------~--~----~------------~-------~--~----~ To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/capistrano -~----------~----~----~----~------~----~------~--~---
