Task 2.0.0 (#887)
This commit is contained in:
Родитель
3a334eb0b3
Коммит
28fa20e661
|
@ -15,7 +15,7 @@
|
|||
"outFiles": [
|
||||
"${workspaceRoot}/out/src/**/*.js"
|
||||
],
|
||||
"preLaunchTask": "npm"
|
||||
"preLaunchTask": "Compile"
|
||||
},
|
||||
{
|
||||
"name": "Launch Tests",
|
||||
|
@ -31,7 +31,7 @@
|
|||
"outFiles": [
|
||||
"${workspaceRoot}/out/test"
|
||||
],
|
||||
"preLaunchTask": "npm"
|
||||
"preLaunchTask": "Compile"
|
||||
},
|
||||
{
|
||||
"type": "node",
|
||||
|
|
|
@ -7,22 +7,27 @@
|
|||
// ${cwd}: the current working directory of the spawned process
|
||||
// A task runner that calls a custom npm script that compiles the extension.
|
||||
{
|
||||
"version": "0.1.0",
|
||||
// we want to run npm
|
||||
"command": "npm",
|
||||
// the command is a shell script
|
||||
"isShellCommand": true,
|
||||
// show the output window only if unrecognized errors occur.
|
||||
"showOutput": "silent",
|
||||
// we run the custom script "compile" as defined in package.json
|
||||
"args": [
|
||||
"run",
|
||||
"compile",
|
||||
"--loglevel",
|
||||
"silent"
|
||||
],
|
||||
// The tsc compiler is started in watching mode
|
||||
"isBackground": true,
|
||||
// use the standard tsc in watch mode problem matcher to find compile problems in the output.
|
||||
"problemMatcher": "$tsc-watch"
|
||||
}
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Compile",
|
||||
"type": "shell",
|
||||
"command": "npm",
|
||||
"presentation": {
|
||||
"reveal": "never"
|
||||
},
|
||||
"args": [
|
||||
"run",
|
||||
"compile",
|
||||
"--loglevel",
|
||||
"silent"
|
||||
],
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
},
|
||||
"isBackground": true,
|
||||
"problemMatcher": "$tsc-watch"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче