Last active
July 7, 2023 22:29
-
-
Save Lerg/ae677d8596b52f9d4dcb0e8a2546adce to your computer and use it in GitHub Desktop.
"Jai: Build & Run" - VS Code task for building and running a Jai program
This file contains 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
{ | |
"version": "2.0.0", | |
"tasks": [ | |
{ | |
"type": "shell", | |
"label": "Jai: Build & Run", | |
"command": "jai -quiet ${file} && ${fileDirname}${pathSeparator}${fileBasenameNoExtension}", | |
"group": "build", | |
"presentation": { | |
"revealProblems": "onProblem", | |
"reveal": "always", | |
"clear": true, | |
"showReuseMessage": false | |
}, | |
"problemMatcher": [ | |
{ | |
"severity": "error", | |
"fileLocation": "absolute", | |
"pattern": [ | |
{ | |
"regexp": "^(.*):(\\d+),(\\d+).*Error: (.*)$", | |
"file": 1, | |
"line": 2, | |
"column": 3, | |
"message": 4 | |
} | |
], | |
"owner": "jai" | |
}, | |
{ | |
"severity": "warning", | |
"fileLocation": "absolute", | |
"pattern": [ | |
{ | |
"regexp": "^(.*):(\\d+),(\\d+).*Warning: (.*)$", | |
"file": 1, | |
"line": 2, | |
"column": 3, | |
"message": 4 | |
} | |
], | |
"owner": "jai" | |
}, | |
{ | |
"severity": "info", | |
"fileLocation": "absolute", | |
"pattern": [ | |
{ | |
"regexp": "^(.*):(\\d+),(\\d+).*Info: (.*)$", | |
"file": 1, | |
"line": 2, | |
"column": 3, | |
"message": 4 | |
} | |
], | |
"owner": "jai" | |
}, | |
{ | |
"severity": "info", | |
"fileLocation": "absolute", | |
"pattern": [ | |
{ | |
"regexp": "^(.*)\\((.*):(\\d+)\\)$", | |
"file": 2, | |
"line": 3, | |
"message": 1, | |
} | |
], | |
"owner": "jai" | |
} | |
] | |
} | |
] | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment