Skip to content

Instantly share code, notes, and snippets.

@cemerson
Created October 12, 2012 09:43
Show Gist options
  • Save cemerson/3878422 to your computer and use it in GitHub Desktop.
Save cemerson/3878422 to your computer and use it in GitHub Desktop.
REF: (ST2: Build Script) HTML5 Boilerplate
So I haven't seen anybody create a html5 boilerplate build system for sublime so here is a really simple one!
Just make sure ant is in your PATH vars and it should work based on if you keep your build folder in the root of your project.
{
"cmd" : ["ant", "-buildfile", "$file_path\\build\\build.xml"],
"selector": "source.html",
"windows": {
"cmd" : ["ant.bat", "-buildfile", "$file_path\\build\\build.xml"]
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment