Skip to content

Commit

Permalink
Return arguments from the configuration suitable for passing to the c…
Browse files Browse the repository at this point in the history
…ompass compiler.
  • Loading branch information
chriseppstein committed May 8, 2009
1 parent 22b61e1 commit b2c4037
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions lib/compass/configuration.rb
Original file line number Diff line number Diff line change
Expand Up @@ -142,6 +142,10 @@ def self.serialize_property(prop, value)
%Q(#{prop} = #{value.inspect}\n)
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
locations = {}
locations[sass_path] = css_path if sass_path && css_path
Expand Down

0 comments on commit b2c4037

Please sign in to comment.