Sha256: caf2aea94012ed0ed4d97c365f7ed7125b0ca769920b046862d14025f241cdc2

Contents?: true

Size: 563 Bytes

Versions: 1

Compression:

Stored size: 563 Bytes

Contents

# encoding: utf-8

require 'rake'
require 'rake/sprocketstask'
require 'classy_assets'

module ClassyAssets 
  class Tasks < Rake::SprocketsTask ; end
end

ClassyAssets::Tasks.new do |t|
  if ClassyAssets.config.asset_compress
    ClassyAssets.sprockets.css_compressor = ClassyAssets.config.css_compressor
    ClassyAssets.sprockets.js_compressor  = ClassyAssets.config.css_compressor
  end

  t.environment  = ClassyAssets.sprockets
  t.output       = ClassyAssets.config.asset_precompile_folder
  t.assets       = ClassyAssets.config.asset_precompile_files
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
classy_assets-0.9.1 lib/classy_assets/tasks.rb