Sha256: 0397829c3e121e82068a1ea69b673c729d3a04d4db88d1ca45cb1b545d54ccab
Contents?: true
Size: 567 Bytes
Versions: 1
Compression:
Stored size: 567 Bytes
Contents
namespace :cakephp do desc <<-DESC Executes a cake command DESC task :cake, :command_name do |t, args| # ask only runs if argument is not provided ask(:cmd, "list") command = args[:command_name] || fetch(:cmd) on roles fetch(:cakephp_roles) do within release_path do execute :php, :cake, command, *args.extras, fetch(:cakephp_cake_options) end end end task :build do on roles fetch(:cakephp_roles) do within release_path do execute :composer, "install --no-dev" end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
capcake-3.0.0 | lib/capistrano/tasks/cake.rake |