Sha256: da5c72da3a2143d07425d994afab028e1dce4b3ca11729c6eade5b2b85fe7036
Contents?: true
Size: 409 Bytes
Versions: 2
Compression:
Stored size: 409 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 "bin/cake", command, *args.extras, fetch(:cakephp_cake_options) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
capcake-3.0.2 | lib/capistrano/tasks/cake.rake |
capcake-3.0.1 | lib/capistrano/tasks/cake.rake |