Sha256: 06f7ae86199a1570635debf683dd425f8a799126201b7a887f2f96f8340a93da
Contents?: true
Size: 672 Bytes
Versions: 2
Compression:
Stored size: 672 Bytes
Contents
namespace :deploy do namespace :assets do desc <<-DESC Builds the assets using markstory/asset_compress plugin DESC task :build do invoke "cakephp:asset_compress", "build" end desc <<-DESC Clears the assets created using markstory/asset_compress plugin 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) invoke "cakephp:cake", "AssetCompress.asset_compress", command, *args.extras end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
capcake-3.0.2 | lib/capistrano/tasks/asset_compress.rake |
capcake-3.0.1 | lib/capistrano/tasks/asset_compress.rake |