22 "version" : " 2.0.0" ,
33
44 "windows" : {
5- "command" : " powershell.exe" ,
6- "args" : [ " -NoProfile" , " -ExecutionPolicy" , " Bypass" ]
5+ "options" : {
6+ "shell" : {
7+ "executable" : " powershell.exe" ,
8+ "args" : [ " -NoProfile" , " -ExecutionPolicy" , " Bypass" , " -Command" ]
9+ }
10+ }
711 },
812 "linux" : {
9- "command" : " /usr/bin/powershell" ,
10- "args" : [ " -NoProfile" ]
13+ "options" : {
14+ "shell" : {
15+ "executable" : " /usr/bin/pwsh" ,
16+ "args" : [ " -NoProfile" , " -Command" ]
17+ }
18+ }
1119 },
1220 "osx" : {
13- "command" : " /usr/local/bin/powershell" ,
14- "args" : [ " -NoProfile" ]
21+ "options" : {
22+ "shell" : {
23+ "executable" : " /usr/local/bin/pwsh" ,
24+ "args" : [ " -NoProfile" , " -Command" ]
25+ }
26+ }
1527 },
1628
17- "showOutput" : " always" ,
18-
1929 // Associate with test task runner
2030 "tasks" : [
2131 {
22- "taskName" : " Clean" ,
23- "suppressTaskName" : true ,
24- "args" : [ " Invoke-Build Clean" ]
32+ "label" : " Clean" ,
33+ "type" : " shell" ,
34+ "command" : " Invoke-Build Clean" ,
35+ "problemMatcher" : [" $msCompile" ]
2536 },
2637 {
27- "taskName" : " Build" ,
28- "suppressTaskName" : true ,
29- "isBuildCommand" : true ,
30- "args" : [ " Invoke-Build Build" ],
31- "problemMatcher" : " $msCompile"
38+ "label" : " Build" ,
39+ "type" : " shell" ,
40+ "command" : " Invoke-Build Build" ,
41+ "group" : {
42+ "kind" : " build" ,
43+ "isDefault" : true
44+ },
45+ "problemMatcher" : [" $msCompile" ]
3246 },
3347 {
34- "taskName" : " Build Release Configuration" ,
35- "suppressTaskName" : true ,
36- "args" : [ " Invoke-Build Build -Configuration Release" ],
37- "problemMatcher" : " $msCompile"
48+ "label" : " Build Release Configuration" ,
49+ "type" : " shell" ,
50+ "command" : " Invoke-Build Build -Configuration Release" ,
51+ "group" : " build" ,
52+ "problemMatcher" : [" $msCompile" ]
3853 },
3954 {
40- "taskName" : " Test" ,
41- "suppressTaskName" : true ,
42- "isTestCommand" : true ,
43- "args" : [ " Invoke-Build Test" ]
55+ "label" : " Test" ,
56+ "type" : " shell" ,
57+ "command" : " Invoke-Build Test" ,
58+ "group" : " test" ,
59+ "problemMatcher" : [" $msCompile" ]
4460 },
4561 {
46- "taskName" : " Test Language Service" ,
47- "suppressTaskName" : true ,
48- "isTestCommand" : true ,
49- "args" : [ " Invoke-Build TestServer" ]
62+ "label" : " Test Language Service" ,
63+ "type" : " shell" ,
64+ "command" : " Invoke-Build TestServer" ,
65+ "group" : " test" ,
66+ "problemMatcher" : [" $msCompile" ]
5067 },
5168 {
52- "taskName" : " Test Host" ,
53- "suppressTaskName" : true ,
54- "isTestCommand" : true ,
55- "args" : [ " Invoke-Build TestHost" ]
69+ "label" : " Test Host" ,
70+ "type" : " shell" ,
71+ "command" : " Invoke-Build TestHost" ,
72+ "group" : {
73+ "kind" : " test" ,
74+ "isDefault" : true
75+ },
76+ "problemMatcher" : [" $msCompile" ]
5677 }
5778 ]
5879}
0 commit comments