Setting Compass output_style doesn't work
I am trying to set the Compass output style like so:
Compass.configuration do |config|
config.output_style = :compressed
end
but the generated CSS is still :expanded.
I also tried adding
Frank.sass_options = Compass.sass_engine_options
but to no avail.
Not sure about this one, I don't really use compass so I haven't noticed if it's something that was recently broken or what. I'll see if I can find some time to dig into it, but I'm working on a new release which is a pretty major refactor, so if you can get it to work with something that feels crappy, go for it, and i'll look at making it feel better in the next major release.
Alright, I'll dig into it some more soon and let you know if I find a solution.
Btw. the problem is only with output_style, setting other Compass configs works fine in setup.rb like this:
production = Frank::CLI.instance_variable_get('@options')[:production]
Compass.configuration do |config|
if production
config.asset_host do |asset|
'http://cdn.mysite.com'
end
config.output_style = :compressed # This doesn't work...
end
config.images_dir = 'images'
config.javascripts_dir = 'js'
config.css_dir = 'css'
end