Sha256: cb601c7c3452fc2e9f5193edb017f3bf73bbbd106acda91465a51614f847860f

Contents?: true

Size: 614 Bytes

Versions: 45

Compression:

Stored size: 614 Bytes

Contents

# frozen_string_literal: true

namespace :proscenium do
  desc 'Compile all your assets with Proscenium'
  task precompile: :environment do
    puts 'Precompiling assets with Proscenium...'
    Proscenium::Precompile.call
    puts 'Proscenium successfully precompiled your assets 🎉'
  end
end

if Rake::Task.task_defined?('assets:precompile')
  Rake::Task['assets:precompile'].enhance do
    Rake::Task['proscenium:precompile'].invoke
  end
else
  Rake::Task.define_task('assets:precompile' => ['proscenium:precompile'])
  Rake::Task.define_task('assets:clean') # null task just so Heroku builds don't fail
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
proscenium-0.6.0-arm64-darwin lib/tasks/assets.rake
proscenium-0.6.0-x86_64-darwin lib/tasks/assets.rake
proscenium-0.6.0-x86_64-linux lib/tasks/assets.rake
proscenium-0.5.1-arm64-darwin lib/tasks/assets.rake
proscenium-0.5.1-x86_64-darwin lib/tasks/assets.rake
proscenium-0.5.1-x86_64-linux lib/tasks/assets.rake
proscenium-0.5.0-arm64-darwin lib/tasks/assets.rake
proscenium-0.5.0-x86_64-darwin lib/tasks/assets.rake
proscenium-0.5.0-x86_64-linux lib/tasks/assets.rake
proscenium-0.4.2-arm64-darwin lib/tasks/assets.rake
proscenium-0.4.2-x86_64-darwin lib/tasks/assets.rake
proscenium-0.4.2-x86_64-linux lib/tasks/assets.rake
proscenium-0.4.1-arm64-darwin lib/tasks/assets.rake
proscenium-0.4.1-x86_64-darwin lib/tasks/assets.rake
proscenium-0.4.1-x86_64-linux lib/tasks/assets.rake
proscenium-0.4.0-arm64-darwin lib/tasks/assets.rake
proscenium-0.4.0-x86_64-darwin lib/tasks/assets.rake
proscenium-0.4.0-x86_64-linux lib/tasks/assets.rake
proscenium-0.3.0-arm64-darwin lib/tasks/assets.rake
proscenium-0.3.0-x86_64-darwin lib/tasks/assets.rake