Last active
December 9, 2020 06:35
-
-
Save kalineh/f8bf60a26915ddf71182ecc4fd204759 to your computer and use it in GitHub Desktop.
Jai.sublime-build
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Show hidden characters
{ | |
// 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