lib/capistrano/tasks/asset_compress.rake in capcake-3.0.0 vs lib/capistrano/tasks/asset_compress.rake in capcake-3.0.1
- old
+ new
@@ -12,10 +12,12 @@
DESC
task :clear do
invoke "cakephp:asset_compress", "clear"
end
end
+end
+namespace :cakephp do
task :asset_compress, :command_name do |t, args|
# ask only runs if argument is not provided
ask(:cmd, "list")
command = args[:command_name] || fetch(:cmd)