Run all Namespace Tasks with Capistrano

capistranorubyruby-on-rails

I have a namespace with different tasks:

namespace :mytest do
  task :setup do; ... end;
  task :task1 do; ... end;
  task :task2 do; ... end;
end

When I run cap mytest I get the task `backup' does not exist.

How do I create a command which calls all tasks?

Best Answer

task :default do
  setup
  task1
  task2
end
Related Topic