Class | Rake::SprocketsTask |
In: |
lib/rake/sprocketstask.rb
|
Parent: | Rake::TaskLib |
assets | [RW] |
Array of asset logical paths to compile.
t.assets = %w( application.js jquery.js application.css ) |
environment | [W] | |
keep | [RW] | Number of old assets to keep. |
logger | [RW] |
Logger to use during rake tasks. Defaults to using stderr.
t.logger = Logger.new($stdout) |
name | [RW] |
Name of the task. Defaults to "assets".
The name will also be used to suffix the clean and clobber tasks, "clean_assets" and "clobber_assets". |
output | [RW] |
Directory to write compiled assets too. As well as the manifest file.
t.output = "./public/assets" |
`Environment` instance used for finding assets.
You‘ll most likely want to reassign `environment` to your own.
Rake::SprocketsTask.new do |t| t.environment = Foo::Assets end