Get last task executed

8 views
Skip to first unread message

goodieboy

unread,
Oct 14, 2007, 10:14:56 PM10/14/07
to Capistrano
Hi,

I'm running Capistrano in a Rails app. I'd like to be able to log the
information associated with the last Capistrano task. For example:

cap -S project=my_project stage=staging solr:index!

is executed like this:

cap.set :project, 'my_project'
cap.set :stage, 'staging'
cap.solr.index!

How can I get a "string" representation (like the command line
version) from an instance of Capistrano? Is that possible? If not,
what's the best way to achieve something like this?

Thank you,
Matt

Jamis Buck

unread,
Oct 15, 2007, 11:13:09 AM10/15/07
to capis...@googlegroups.com
Matt,

I'm not sure I understand what you're wanting to do. Can you give an
example of what you'd like?

- Jamis

> --~--~---------~--~----~------------~-------~--~----~
> To unsubscribe from this group, send email to capistrano-
> unsub...@googlegroups.com
> For more options, visit this group at http://groups.google.com/
> group/capistrano
> -~----------~----~----~----~------~----~------~--~---
>

Reply all
Reply to author
Forward
0 new messages