blob: c4e38b87faf614b3c8cc1920bdcf59e214ba25b0 [file] [log] [blame]
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
{
"version": "2.0.0",
"tasks": [
{
"type": "shell",
"command": "git clean -Xdf ./testdata/",
"presentation": {
"reveal": "never"
},
"label": "clean testdata",
},
{
"label": "clean for tests + build",
"dependsOn": ["clean testdata", "npm: build"],
},
{
"type": "npm",
"script": "build",
"options": {
"env": {
"MACHINE": "true"
}
},
"problemMatcher": {
"owner": "esbuild",
"fileLocation": [
"relative",
"${workspaceFolder}"
],
"pattern": {
"regexp": "^(.*)\\((\\d*),(\\d*)\\):(warning|error):(.*)$",
"file": 1,
"line": 2,
"column": 3,
"severity": 4,
"message": 5
},
},
"isBackground": false,
"presentation": {
"reveal": "never"
},
"group": {
"kind": "build",
"isDefault": true
},
"label": "npm: build",
"detail": "node build.mjs"
},
{
"type": "npm",
"script": "typecheck:watch",
"group": "build",
"problemMatcher": "$tsc-watch",
"label": "npm: typecheck:watch",
"detail": "npx tsc --watch"
}
]
}