On Friday, 3 May 2013 13:50:40 UTC+1,
geoffroy....@gmail.com wrote:
Hello
I've just upgraded to Capistrano v2.15.4 and when I deploy, I get new lines like
* executing multiple commands in parallel
-> "else" :: "cp -
What does -> "else" mean ?
It's kind of ugly - there's a "parallel" command where you specify :
parallel do |session|
session.when "in?(:app)", "run_this"
session.else "run_that"
end
which gives output like:
"in?(:app)" :: "run_this"
"else" :: "run_that"
The more basic "run" command is built on top of the same thing, and since it doesn't take conditionals it basically just does the same thing as session.else() from the first example.