2
2
"version" : " 2.0.0" ,
3
3
4
4
"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
+ }
7
11
},
8
12
"linux" : {
9
- "command" : " /usr/bin/powershell" ,
10
- "args" : [ " -NoProfile" ]
13
+ "options" : {
14
+ "shell" : {
15
+ "executable" : " /usr/bin/pwsh" ,
16
+ "args" : [ " -NoProfile" , " -Command" ]
17
+ }
18
+ }
11
19
},
12
20
"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
+ }
15
27
},
16
28
17
- "showOutput" : " always" ,
18
-
19
29
// Associate with test task runner
20
30
"tasks" : [
21
31
{
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" ]
25
36
},
26
37
{
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" ]
32
46
},
33
47
{
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" ]
38
53
},
39
54
{
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" ]
44
60
},
45
61
{
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" ]
50
67
},
51
68
{
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" ]
56
77
}
57
78
]
58
79
}
0 commit comments