Sha256: 60293fb6e2049ce9a4e1e432e4c83cf0a370e34fe4aa4f5a20bbb1dfc90d375d
Contents?: true
Size: 637 Bytes
Versions: 5
Compression:
Stored size: 637 Bytes
Contents
# encoding: utf-8 require 'rake' require 'rake/sprocketstask' require 'classy_assets' module ClassyAssets class Tasks < Rake::SprocketsTask def define_precompile_task task "assets:precompile" => [:clean_assets, :assets] end end end ClassyAssets::Tasks.new do |t| t.define_precompile_task t.environment = ClassyAssets.sprockets t.output = ClassyAssets.config.asset_precompile_path t.assets = ClassyAssets.config.asset_precompile t.keep = ClassyAssets.config.asset_precompile_keep t.manifest = ::Sprockets::Manifest.new(t.environment, ClassyAssets.config.asset_manifest_path) end
Version data entries
5 entries across 5 versions & 1 rubygems