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 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
You can’t perform that action at this time.
0 commit comments