lib/classy_assets/tasks.rb in classy_assets-0.14.1 vs lib/classy_assets/tasks.rb in classy_assets-0.14.2
- old
+ new
@@ -5,17 +5,16 @@
require 'classy_assets'
module ClassyAssets
class Tasks < Rake::SprocketsTask
def define_precompile_task
- desc "Clean and Precompile Classy Assets"
+ desc "Clean and precompile assets"
task "assets:precompile" => [:environment, :clean_classy_assets, :classy_assets]
end
def self.init!
ClassyAssets::Tasks.new(:classy_assets) do |t|
t.define_precompile_task
- puts ClassyAssets.config.asset_digest
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)