lib/capistrano/tasks/cake.rake in capcake-3.0.0 vs lib/capistrano/tasks/cake.rake in capcake-3.0.1
- old
+ new
@@ -7,19 +7,11 @@
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)
+ execute "bin/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