jorgebastida/glue — pull request #46 by stuartkeith (2012-07-07 12:41:45+00:00)
Title: Replaced '--less' option with '--extension=<file-extension>'

Hi, I've just discovered glue and I'm really impressed by it so far.

I had a problem though -- I use SASS (if you haven't heard of it, it's similar to less - http://sass-lang.com/).

So I needed something like the '--less' option, but for the .scss file extension that SASS uses.

I thought rather than add another option, I thought it would be a nice feature if it were possible to specify any file extension - whether it be .less, .scss, or anything else.

So I've replaced the '--less' option with '--extension='. So "--extension=less" will do exactly what "--less" does, but now I also have the option of "--extension=scss", or "--extension=foo", etc. Then it can work with basically any tool that uses CSS files, no matter what the extension.

If you do accept this request I'm not sure whether you'd want to keep '--less' for backwards compatibility but I've removed it entirely in my patch.