mirror of
https://github.com/haml/haml.git
synced 2022-11-09 12:33:31 -05:00
[Sass] Make sassc options available to the Sass executable.
This commit is contained in:
parent
e38262b513
commit
a04048eab2
2 changed files with 6 additions and 1 deletions
1
TODO
1
TODO
|
@ -25,7 +25,6 @@
|
|||
CSS Terminology? (https://mail.google.com/mail/#label/Haml/1202d75234b3ce6b)
|
||||
Sass::Engine load_paths option should be set by executable
|
||||
Sassc
|
||||
Make available to executable
|
||||
Add option to disable
|
||||
[2.4] Do all parsing in to_tree
|
||||
Never call Node#interpolate
|
||||
|
|
|
@ -189,6 +189,12 @@ 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
|
||||
end
|
||||
opts.on('-C', '--no-cache', "Don't cache to sassc files.") do
|
||||
@options[:for_engine][:cache] = false
|
||||
end
|
||||
end
|
||||
|
||||
def process_result
|
||||
|
|
Loading…
Add table
Reference in a new issue