Sublime Build System for TypeScript
//for Windows | |
{ | |
"cmd": ["tsc","$file"], | |
"file_regex": "(.*\\.ts?)\\s\\(([0-9]+)\\,([0-9]+)\\)\\:\\s(...*?)$", | |
"selector": "source.ts", | |
"windows": { | |
"cmd": ["tsc.cmd", "$file"] | |
} | |
} | |
// for Mac OS-X | |
{ | |
"cmd": ["tsc","$file"], | |
"file_regex": "(.*\\.ts?)\\s\\(([0-9]+)\\,([0-9]+)\\)\\:\\s(...*?)$", | |
"selector": "source.ts", | |
"osx": { | |
"path": "/usr/local/bin:/opt/local/bin" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment