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

Version Path
scrapbook-0.3.2 vendor/ruby/2.7.0/gems/propshaft-0.6.4/lib/propshaft/railties/assets.rake
scrapbook-0.3.1 vendor/ruby/2.7.0/gems/propshaft-0.6.4/lib/propshaft/railties/assets.rake
propshaft-0.6.4 lib/propshaft/railties/assets.rake
propshaft-0.6.3 lib/propshaft/railties/assets.rake
propshaft-0.6.2 lib/propshaft/railties/assets.rake
propshaft-0.6.1 lib/propshaft/railties/assets.rake
propshaft-0.6.0 lib/propshaft/railties/assets.rake