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