mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
[Sass] Fix the --cache-location flag.
This commit is contained in:
parent
9b708208fc
commit
a8b9b6ae9d
2 changed files with 5 additions and 2 deletions
|
@ -18,6 +18,9 @@
|
|||
* Add a {file:SASS_REFERENCE.md#unix_newlines-option `:unix_newlines` option}
|
||||
for {Sass::Plugin} for outputting Unix-style newlines on Windows.
|
||||
|
||||
* Fix the `--cache-location` flag, which was previously throwing errors.
|
||||
Thanks to [tav](http://tav.espians.com/).
|
||||
|
||||
## [2.2.17](http://github.com/nex3/haml/commit/2.2.16)
|
||||
|
||||
* When the {file:SASS_REFERENCE.md#full_exception-option `:full_exception` option}
|
||||
|
|
|
@ -233,8 +233,8 @@ END
|
|||
opts.on('-I', '--load-path PATH', 'Add a sass import path.') do |path|
|
||||
@options[:for_engine][:load_paths] << path
|
||||
end
|
||||
opts.on('--cache-location', 'The path to put cached Sass files. Defaults to .sass-cache.') do |loc|
|
||||
@options[:for_engine][:cache_location] = path
|
||||
opts.on('--cache-location PATH', 'The path to put cached Sass files. Defaults to .sass-cache.') do |loc|
|
||||
@options[:for_engine][:cache_location] = loc
|
||||
end
|
||||
opts.on('-C', '--no-cache', "Don't cache to sassc files.") do
|
||||
@options[:for_engine][:cache] = false
|
||||
|
|
Loading…
Add table
Reference in a new issue