File tree Expand file tree Collapse file tree 1 file changed +17
-8
lines changed Expand file tree Collapse file tree 1 file changed +17
-8
lines changed Original file line number Diff line number Diff line change 9
9
// A task runner that calls the Typescript compiler (tsc) and
10
10
// Compiles a HelloWorld.ts program
11
11
{
12
- "version" : " 0.1 .0" ,
12
+ "version" : " 2.0 .0" ,
13
13
14
14
// The command is tsc. Assumes that tsc has been installed using npm install -g typescript
15
15
"command" : " tsc" ,
16
16
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
-
23
17
// args is the HelloWorld program to compile.
24
18
"args" : [" HelloWorld.ts" ],
25
19
26
20
// use the standard tsc problem matcher to find compile problems
27
21
// 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
+ ]
29
38
}
30
39
31
40
// A task runner that calls the Typescript compiler (tsc) and
You can’t perform that action at this time.
0 commit comments