Skip to content

Instantly share code, notes, and snippets.

@benshimmin
Created December 14, 2012 13:00
Show Gist options
  • Save benshimmin/4285332 to your computer and use it in GitHub Desktop.
Save benshimmin/4285332 to your computer and use it in GitHub Desktop.
Creating a new Sublime build system to trigger Fabric to run a Grunt task on a Vagrant host to compress Sass files... (How many layers of indirection is that?!)
  • Add the below build file with Tools -> Build System -> New Build System...
  • Make sure you have Tools -> Build System -> Automatic ticked
  • Install this plugin: https://github.com/alexnj/SublimeOnSaveBuild
  • That should be it!
{
"cmd" : ["fab", "v", "b:sass:compress"],
"working_dir" : "${project_path:${folder}}",
"selector" : "source.sass"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment