[Sass] Make sassc options available to the Sass executable.

This commit is contained in:
Nathan Weizenbaum 2009-04-23 09:59:38 -07:00
parent e38262b513
commit a04048eab2
2 changed files with 6 additions and 1 deletions

1
TODO
View File

@ -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

View File

@ -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