Sha256: 2ce6bddcf94a757127c528cec93a922693eaa7e179838d461d24c2cc7c260ccc
Contents?: true
Size: 808 Bytes
Versions: 7
Compression:
Stored size: 808 Bytes
Contents
namespace :assets do desc "Compile all the assets from config.assets.paths" task precompile: :environment do Rails.application.assets.processor.process end desc "Remove config.assets.output_path" task clobber: :environment do Rails.application.assets.processor.clobber end desc "Removes old files in config.assets.output_path" task clean: :environment do Rails.application.assets.processor.clean end desc "Print all the assets available in config.assets.paths" task reveal: :environment do puts Rails.application.assets.reveal(:logical_path).join("\n") end namespace :reveal do desc "Print the full path of assets available in config.assets.paths" task full: :environment do puts Rails.application.assets.reveal(:path).join("\n") end end end
Version data entries
7 entries across 7 versions & 2 rubygems