Sha256: a4fc6421c280c548a6c30897f7e2e105153244be5d0f0f7a7998a384a509f4b4
Contents?: true
Size: 646 Bytes
Versions: 1
Compression:
Stored size: 646 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 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
capcake-3.0.0 | lib/capistrano/tasks/asset_compress.rake |