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!
--
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 [email protected].
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.