Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Create a SASS compiler into a standalone executable #44
Will it be possible and feasible to package the Sass compiler into a standalone executable (and without installing Ruby)?
It already exist for the .Less files (with the dotLess project) and CoffeeScript, but not for Sass, which is I think a big lack for this metalanguage.
I thinks a command line compiler should give us a lots of new ways to compile Scss files and to make solutions self-contained. For example to kick off the executable compiler as a build task, or with a PowerShell script (would be very useful in the case of a SharePoint project).
We could use it as this way:
You don't have to install a system-wide copy of Ruby, everything you need is built-in. You do need the IronRuby DLLs, but NuGet pulls them down automatically.
SENT FROM MY COMMODORE 64: RESPONSES MAY BE IN ALL CAPS
On Feb 17, 2012, at 18:24, Etiennereply@reply.github.com wrote:
You are right, I don't need to install Ruby to use SassAndCoffee.
While that's definitely possible (just import SassAndCoffee.Ruby into a PowerShell CmdLet or Console project), why not use real Ruby and the official Sass gem? Performance will be better, it will follow the normal update schedule, and any bugs I've introduced won't get in your way :)
Per your example, just use:
The whole reason I got involved in SassAndCoffee is because I wanted to support real-time updates to Sass files during development. If you are willing and able to pre-compile, please think seriously about just using the established tooling.