This thread looks to be a little on the old side and therefore may no longer be relevant. Please see if there is a newer thread on the subject and ensure you're using the most recent build of any software if your question regards a particular product.
This thread has been locked and is no longer accepting new posts, if you have a question regarding this topic please email us at support@mindscape.co.nz
|
Versions involved:
I'm using the new "Compass install path" feature and I have the following line of Sass:
But when Web Workbench tries to compile, I get the following error:
If I comment out that |
|
|
Also, I'm using other Compass includes ( |
|
|
Unfortunately we're not yet able to compile Compass stylesheets. As you've found, some of them do work, but many don't (specifically ones which use custom Sass functions, which I think is what We know a lot of people are keen for full Compass integration and it's definitely on our radar, but I'm afraid that Compass compilation is just something we haven't yet been able to find the resources for. Hope this clarifies where we're at, and we do appreciate the feedback! |
|
|
FWIW, this is how I ended up using Compass. Turn off Mindscape compilation of my scss files Install Ruby (I installed it straight into a _build/Ruby folder in my solution folder so it would be checked in and available for all developers including the build server) Install Compass In my web project I created a compass.cmd which adds the Ruby bin folder to the path, then runs the compass commands.
Created compass-watch.cmd:
Created compass-compile.cmd:
Created compass-clean.cmd:
Modified my web project csproj to run compass-compile as a build step:
This sets things up so that the scss files are automatically compiled by the Compass compiler whenever the web project is built. It also kicks out an error if you accidentally forget to turn off the Mindscape compiler for any of your scss files. It also gives a handy compass-watch.cmd file that you can run straight from the Solution Explorer if you've setup Visual Studio to run .cmd files. This satisfies the developer need for quick interactive compilation. Finally, I actually placed Ruby+Compass within my solution folder and checked it into source control so that it would be available for everyone (all team members + the build server) without them needing to go through this installation process. I hope this helps. |
|