Return arguments from the configuration suitable for passing to the compass compiler.

This commit is contained in:
Chris Eppstein 2009-05-08 07:56:36 -07:00
parent 22b61e13a9
commit b2c403711b

View File

@ -142,6 +142,10 @@ module Compass
%Q(#{prop} = #{value.inspect}\n) %Q(#{prop} = #{value.inspect}\n)
end end
def to_compiler_arguments(additional_options)
[project_path, sass_path, css_path, to_sass_engine_options.merge(additional_options)]
end
def to_sass_plugin_options def to_sass_plugin_options
locations = {} locations = {}
locations[sass_path] = css_path if sass_path && css_path locations[sass_path] = css_path if sass_path && css_path