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.

News Films

Our little film studio focuses on telling developer-centric stories that need to be seen.

Beyond Code: Season 3 / GopherCon 2015

 
0:00 / 0:00