Sublime Forum

Compass Build System

#1

Hi,

I am trying to get compass to compile my .scss files through a sublime build system but am having trouble getting it to work on my windows computer.

Here is the build file:

{
    "cmd":          "cd $project_path;", "compass compile"],
    "working_dir":  "$packages/Compass",
    "selector":     "source.scss, source.sass",
    "shell":		"true",
    "windows":      
	    {
	        "cmd": "cd $project_path&", "compass.bat compile"]
	    }
}

When I press build, it says building then nothing happens. Is there any way that I can test the output of the command? Also, is project_path correctly formatted for windows?

Thanks for the help

P.S. Compass is in my windows PATH variable if anyone is going to suggest that.

0 Likes

#2

I’ve solved it.

Output was being displayed in the Python Console.

$project_path was working correctly

I needed to change the windows command to:

{
	        "cmd": 	"cd $project_path& compass.bat compile"]
}

and the working directory was misnamed.

0 Likes