Where can I learn Capistrano 3 command language

63 views
Skip to first unread message

Simón Muñoz

unread,
Jan 5, 2014, 6:26:45 PM1/5/14
to capis...@googlegroups.com
Hi all,

newbie here! From the announcement of the Cap v3, we can find this example of a more declarative command language:

# Capistrano 3.0.x
    task :precompile do
      on :sprockets_asset_host, reject: lambda { |h| h.properties.no_release } do
        within fetch(:latest_release_directory)
          with rails_env: fetch(:rails_env) do
            execute :rake, 'assets:precompile'
          end
        end
      end
    end

Is there any place to learn this language and the correct way of writing tasks? Thanks in advance!

Lee Hambley

unread,
Jan 6, 2014, 12:54:18 AM1/6/14
to capistrano

https://github.com/capistrano/sshkit/blob/master/EXAMPLES.md

A PR to the docs to link this wherever you think it would have made sense would be appreciated.

Sent from my Nexus 4.

--
You received this message because you are subscribed to the Google Groups "Capistrano" group.
To unsubscribe from this group and stop receiving emails from it, send an email to capistrano+...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/capistrano/29fb57d3-68e7-4f53-b387-65bb4dcd3fd9%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Reply all
Reply to author
Forward
0 new messages