2015-05-14 00:28:03 +03:00
|
|
|
{
|
2017-11-22 06:47:13 +03:00
|
|
|
// See https://go.microsoft.com/fwlink/?LinkId=733558
|
|
|
|
// for the documentation about the tasks.json format
|
|
|
|
"version": "2.0.0",
|
2015-05-19 20:56:46 +03:00
|
|
|
"tasks": [
|
|
|
|
{
|
2022-10-09 23:15:45 +03:00
|
|
|
// Kept for backwards compat for old launch.json files so it's
|
|
|
|
// less annoying if moving up to the new build or going back to
|
|
|
|
// the old build.
|
|
|
|
//
|
|
|
|
// This is first because the acutal "npm: build:tests" task
|
|
|
|
// below has the same script value, and VS Code ignores labels
|
|
|
|
// and deduplicates them.
|
|
|
|
// https://github.com/microsoft/vscode/issues/93001
|
|
|
|
"label": "gulp: tests",
|
|
|
|
"type": "npm",
|
2022-12-09 04:04:58 +03:00
|
|
|
"script": "build:tests:notypecheck",
|
2022-10-09 23:15:45 +03:00
|
|
|
"group": "build",
|
|
|
|
"hide": true,
|
2020-06-17 02:55:03 +03:00
|
|
|
"problemMatcher": [
|
|
|
|
"$tsc"
|
|
|
|
]
|
2017-08-05 02:10:33 +03:00
|
|
|
},
|
|
|
|
{
|
2022-10-09 23:15:45 +03:00
|
|
|
"label": "tsc: watch ./src",
|
|
|
|
"type": "shell",
|
|
|
|
"command": "node",
|
2023-03-10 03:35:17 +03:00
|
|
|
"args": ["${workspaceFolder}/node_modules/typescript/lib/tsc.js", "--build", "${workspaceFolder}/src", "--watch"],
|
2017-11-22 06:47:13 +03:00
|
|
|
"group": "build",
|
2022-10-09 23:15:45 +03:00
|
|
|
"isBackground": true,
|
2020-06-17 02:55:03 +03:00
|
|
|
"problemMatcher": [
|
2022-10-09 23:15:45 +03:00
|
|
|
"$tsc-watch"
|
2020-06-17 02:55:03 +03:00
|
|
|
]
|
2017-11-22 06:47:13 +03:00
|
|
|
},
|
|
|
|
{
|
2022-10-09 23:15:45 +03:00
|
|
|
"label": "npm: build:compiler",
|
|
|
|
"type": "npm",
|
|
|
|
"script": "build:compiler",
|
2017-11-22 06:47:13 +03:00
|
|
|
"group": "build",
|
2020-06-17 02:55:03 +03:00
|
|
|
"problemMatcher": [
|
|
|
|
"$tsc"
|
|
|
|
]
|
|
|
|
},
|
|
|
|
{
|
2022-10-09 23:15:45 +03:00
|
|
|
"label": "npm: build:tests",
|
|
|
|
"type": "npm",
|
2022-12-09 04:04:58 +03:00
|
|
|
"script": "build:tests:notypecheck",
|
2022-10-09 23:15:45 +03:00
|
|
|
"group": "build",
|
2020-06-17 02:55:03 +03:00
|
|
|
"problemMatcher": [
|
|
|
|
"$tsc"
|
2022-10-09 23:15:45 +03:00
|
|
|
]
|
2023-09-02 01:26:01 +03:00
|
|
|
}
|
2015-05-19 20:56:46 +03:00
|
|
|
]
|
2022-10-09 23:15:45 +03:00
|
|
|
}
|