|
3 | 3 |
|
4 | 4 | "windows": { |
5 | 5 | "command": "${env:windir}/System32/WindowsPowerShell/v1.0/powershell.exe", |
6 | | - "args": [ "-NoProfile", "-ExecutionPolicy", "Bypass" ] |
| 6 | + "args": [ "-NoProfile", "-ExecutionPolicy", "Bypass", "-Command" ] |
7 | 7 | }, |
8 | 8 | "linux": { |
9 | 9 | "command": "/usr/bin/powershell", |
10 | | - "args": [ "-NoProfile" ] |
| 10 | + "args": [ "-NoProfile", "-Command" ] |
11 | 11 | }, |
12 | 12 | "osx": { |
13 | 13 | "command": "/usr/local/bin/powershell", |
14 | | - "args": [ "-NoProfile" ] |
| 14 | + "args": [ "-NoProfile", "-Command" ] |
15 | 15 | }, |
16 | 16 |
|
17 | 17 | "tasks": [ |
18 | 18 | { |
19 | 19 | "taskName": "Install", |
20 | | - "type": "shell", |
21 | | - "command": "Invoke-Build Restore" |
| 20 | + "suppressTaskName": true, |
| 21 | + "args": [ "Invoke-Build", "Restore" ] |
22 | 22 | }, |
23 | 23 | { |
24 | 24 | "taskName": "CleanAll", |
25 | | - "type": "shell", |
26 | | - "command": "Invoke-Build CleanAll" |
| 25 | + "suppressTaskName": true, |
| 26 | + "args": [ "Invoke-Build", "CleanAll" ] |
27 | 27 | }, |
28 | 28 | { |
29 | 29 | "taskName": "Clean", |
30 | | - "type": "shell", |
31 | | - "command": "Invoke-Build Clean" |
| 30 | + "suppressTaskName": true, |
| 31 | + "args": [ "Invoke-Build", "Clean" ] |
32 | 32 | }, |
33 | 33 | { |
34 | 34 | "taskName": "BuildAll", |
35 | | - "type": "shell", |
36 | | - "command": "Invoke-Build BuildAll", |
37 | | - "problemMatcher": [] |
38 | | - }, |
39 | | - { |
40 | | - "taskName": "Build", |
41 | | - "type": "shell", |
42 | | - "command": "Invoke-Build Build", |
| 35 | + "suppressTaskName": true, |
| 36 | + "args": [ "Invoke-Build", "BuildAll" ], |
43 | 37 | "group": { |
44 | 38 | "kind": "build", |
45 | 39 | "isDefault": true |
46 | 40 | }, |
47 | 41 | "problemMatcher": [] |
48 | 42 | }, |
| 43 | + { |
| 44 | + "taskName": "Build", |
| 45 | + "suppressTaskName": true, |
| 46 | + "args": [ "Invoke-Build", "Build" ], |
| 47 | + "group": "build", |
| 48 | + "problemMatcher": [] |
| 49 | + }, |
49 | 50 | { |
50 | 51 | "taskName": "Test", |
51 | | - "type": "shell", |
52 | | - "command": "Invoke-Build Test", |
| 52 | + "suppressTaskName": true, |
| 53 | + "args": [ "Invoke-Build", "Test" ], |
53 | 54 | "group": { |
54 | 55 | "kind": "test", |
55 | 56 | "isDefault": true |
|
0 commit comments