Sha256: 17740a00e10dd9938c175208a28bd44c1c0472064350bde125e2a97ed2f558f5
Contents?: true
Size: 585 Bytes
Versions: 45
Compression:
Stored size: 585 Bytes
Contents
# Doesn't works if it's included in Rails, should be explicitly copied to tasks folder. namespace :asset do namespace :packager do desc "Merge and compress assets" task :build_all => :environment do require 'yaml' require 'asset_packager/asset_packager' AssetPackager.build_all puts "Asset builded" end desc "Delete all asset builds" task :delete_all do require 'yaml' require 'asset_packager/asset_packager' AssetPackager.delete_all puts "Asset Builds deleted" end end end
Version data entries
45 entries across 45 versions & 2 rubygems