Wynn Netherland changelog.com/posts

Cape - Easily run Rake tasks in Capistrano

Cape is an interesting project from Nils Jonsson (who brought us htty). With just a few lines in your deploy.rb, you can include your Rake tasks in Capistrano:

require 'cape'

Cape do
  # Create Capistrano recipes for all Rake tasks.
  mirror_rake_tasks
end

Any Rake task with a description can be enumerated and run via cap:

$ cap --explain bag_leaves
------------------------------------------------------------
cap bag_leaves
------------------------------------------------------------
Bags the leaves.

Check out the README for namespacing and other options.


Discussion

Sign in or Join to comment or subscribe

Player art
  0:00 / 0:00