kriswallsmith/assetic — pull request #191 by kreischweide (2012-02-26 16:44:15+00:00)
Title: Compass and CSS input files

I tried to create a single css from alot of scss (own) and css (jquery-ui) files by using twig:

```twig
{% stylesheets filter="compass,?yui_css" output="combined/the.css"
"@SomeSiteBundle/Resources/public/css/base.scss"
"@SomeSiteBundle/Resources/public/css/jquery-ui/jquery.ui.core.css"
"@SomeSiteBundle/Resources/public/css/jquery-ui/jquery.ui.theme.css"
%}

{% endstylesheets %}
```

But it did not work and gave me lots of

[RuntimeException]
WARNING on line 12 of /tmp/assetic_compass9Aiq7d.css:
This selector doesn't have any properties and will not be rendered.

so instead of making two stylesheet-blocks i looked through the CompassFilter and noticed that it should only accept sass and scss files, but in fact accepted all file extensions. From my understanding compass should only handle those files but i might be wrong.

Also it seems that $this->scss is never set, not even by the setScss-method but i left it unchanged. Moved the check above the config file construction so no cleanup is needed.