Skip to content

Instantly share code, notes, and snippets.

@kalineh
Last active December 9, 2020 06:35
Show Gist options
  • Save kalineh/f8bf60a26915ddf71182ecc4fd204759 to your computer and use it in GitHub Desktop.
Save kalineh/f8bf60a26915ddf71182ecc4fd204759 to your computer and use it in GitHub Desktop.
Jai.sublime-build
{
// custom build command keybinds for user settings
// { "keys": ["ctrl+j"], "command": "build", },
// { "keys": ["ctrl+shift+j"], "command": "build", "args": { "variant": "run" } },
//"target": "jai_build", // not sure how it works but it makes the build not run
//"selector": "source.jai", // doesnt seem to work
"file_patterns": ["*.jai"] ,
"shell": true,
"cmd": [ "jai.exe", "${file_name}" ],
"file_regex": "^(.*):(\\d+),(\\d+): (.*)",
"variants": [
{
"name": "run",
"cmd": [ "${file_base_name}.exe" ],
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment