-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Create a SASS compiler into a standalone executable #44
Comments
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. Paul Betts SENT FROM MY COMMODORE 64: RESPONSES MAY BE IN ALL CAPS On Feb 17, 2012, at 18:24, [email protected] wrote:
|
You are right, I don't need to install Ruby to use SassAndCoffee. Thanks, |
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. |
Aha - I think I figured it out: https://github.com/zaus/Sassifier. |
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:
$(SolutionDir)Tools\sass.compiler.exe $ (ProjectDir)\css\styles.scss $(ProjectDir)\css\styles.css -minified
Thanks!
Etienne.
The text was updated successfully, but these errors were encountered: