views:

187

answers:

1

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?

A: 
task :default do
  setup
  task1
  task2
end
collimarco