[Sass] Make sassc options available to the Sass executable.
This commit is contained in:
parent
e38262b513
commit
a04048eab2
1
TODO
1
TODO
|
@ -25,7 +25,6 @@
|
||||||
CSS Terminology? (https://mail.google.com/mail/#label/Haml/1202d75234b3ce6b)
|
CSS Terminology? (https://mail.google.com/mail/#label/Haml/1202d75234b3ce6b)
|
||||||
Sass::Engine load_paths option should be set by executable
|
Sass::Engine load_paths option should be set by executable
|
||||||
Sassc
|
Sassc
|
||||||
Make available to executable
|
|
||||||
Add option to disable
|
Add option to disable
|
||||||
[2.4] Do all parsing in to_tree
|
[2.4] Do all parsing in to_tree
|
||||||
Never call Node#interpolate
|
Never call Node#interpolate
|
||||||
|
|
|
@ -189,6 +189,12 @@ END
|
||||||
opts.on('-I', '--load-path PATH', 'Add a sass import path.') do |path|
|
opts.on('-I', '--load-path PATH', 'Add a sass import path.') do |path|
|
||||||
@options[:for_engine][:load_paths] << path
|
@options[:for_engine][:load_paths] << path
|
||||||
end
|
end
|
||||||
|
opts.on('--cache-location', 'The path to put cached Sass files. Defaults to .sass-cache.') do |loc|
|
||||||
|
@options[:for_engine][:cache_location] = path
|
||||||
|
end
|
||||||
|
opts.on('-C', '--no-cache', "Don't cache to sassc files.") do
|
||||||
|
@options[:for_engine][:cache] = false
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
def process_result
|
def process_result
|
||||||
|
|
Loading…
Reference in New Issue