Sha256: d3474803d0100c73a72d548323331e34e5011d0f87c0bb86c7ad0cf68bd283a2
Contents?: true
Size: 460 Bytes
Versions: 2
Compression:
Stored size: 460 Bytes
Contents
# encoding: utf-8 require 'rake' require 'rake/sprocketstask' require 'classy_assets' module ClassyAssets class Tasks < Rake::SprocketsTask def precompile task "assets:precompile" => [:clean_assets, :assets] end end end ClassyAssets::Tasks.new do |t| t.environment = ClassyAssets.sprockets t.output = ClassyAssets.config.asset_precompile_folder t.assets = ClassyAssets.config.asset_precompile_files t.precompile end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
classy_assets-0.9.4 | lib/classy_assets/tasks.rb |
classy_assets-0.9.3 | lib/classy_assets/tasks.rb |