In rant, we call a task by denoting it as a dependancy:
task :test => [:build] do # calls :build before :test
-whatever-
end
How do you call a task at the end of (or inside) a block?
task :myaction do
-some action-
end
task :otheraction do
-some stuff here-
*** how to call :myaction here? **
end (** or here? **)
Thanks