Skip to content

Commit 51b3fd6

Browse files
committed
Update tasks.json
1 parent 376e68f commit 51b3fd6

File tree

1 file changed

+17
-8
lines changed

1 file changed

+17
-8
lines changed

.vscode/tasks.json

Lines changed: 17 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -9,23 +9,32 @@
99
// A task runner that calls the Typescript compiler (tsc) and
1010
// Compiles a HelloWorld.ts program
1111
{
12-
"version": "0.1.0",
12+
"version": "2.0.0",
1313

1414
// The command is tsc. Assumes that tsc has been installed using npm install -g typescript
1515
"command": "tsc",
1616

17-
// The command is a shell script
18-
"isShellCommand": true,
19-
20-
// Show the output window only if unrecognized errors occur.
21-
"showOutput": "silent",
22-
2317
// args is the HelloWorld program to compile.
2418
"args": ["HelloWorld.ts"],
2519

2620
// use the standard tsc problem matcher to find compile problems
2721
// in the output.
28-
"problemMatcher": "$tsc"
22+
"problemMatcher": "$tsc",
23+
"tasks": [
24+
{
25+
"label": "tsc",
26+
"type": "shell",
27+
"command": "tsc",
28+
"args": [
29+
"HelloWorld.ts"
30+
],
31+
"problemMatcher": "$tsc",
32+
"group": {
33+
"_id": "build",
34+
"isDefault": false
35+
}
36+
}
37+
]
2938
}
3039

3140
// A task runner that calls the Typescript compiler (tsc) and

0 commit comments

Comments
 (0)