Skip to content

Instantly share code, notes, and snippets.

@piksel
Created November 8, 2012 10:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save piksel/4037918 to your computer and use it in GitHub Desktop.
Save piksel/4037918 to your computer and use it in GitHub Desktop.
build system for handlebars compiling in sublime text 2
{
"selector": "source.handlebars",
"cmd": ["handlebars", "$file", "-f", "$file_path/../js/$file_base_name.handlebars.js"],
"windows": {
"cmd": ["handlebars.cmd", "$file", "-f", "$file_path/../js/$file_base_name.handlebars.js"]
},
"variants": [
{
"cmd": ["handlebars.cmd", "$file", "-f", "$file_path/../js/$file_base_name.handlebars.js", "-m"],
"name": "Compile and minify"
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment