Skip to content

Instantly share code, notes, and snippets.

@stol
Created December 3, 2012 17:32
Show Gist options
  • Save stol/4196582 to your computer and use it in GitHub Desktop.
Save stol/4196582 to your computer and use it in GitHub Desktop.
Sublime Text 2 package for building SCSS files, with compass dependency
// Make sure sass + compass are both installed
// Put this file inside a directory named "SCSS-build", in your ST2 packages directory
// last, remove thoses comments. Not sure if it will work with them :)
{
"cmd": "sass $file ${file_path}/${file_base_name}.css -C -t expanded --trace --compass",
"file_regex": "^[ ]*File \"(...*?)\", line ([0-9]*)",
"selector": "source.scss",
"shell": "true",
"osx":
{
"path": "/usr/local/bin:$PATH"
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment