|
2 | 2 | "version": "2.0.0", |
3 | 3 |
|
4 | 4 | "windows": { |
5 | | - "command": "${env:windir}/System32/WindowsPowerShell/v1.0/powershell.exe", |
6 | | - "args": [ "-NoProfile", "-ExecutionPolicy", "Bypass", "-Command" ] |
| 5 | + "options": { |
| 6 | + "shell": { |
| 7 | + "executable": "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe", |
| 8 | + "args": [ "-NoProfile", "-ExecutionPolicy", "Bypass", "-Command" ] |
| 9 | + } |
| 10 | + } |
7 | 11 | }, |
8 | 12 | "linux": { |
9 | | - "command": "/usr/bin/powershell", |
10 | | - "args": [ "-NoProfile", "-Command" ] |
| 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", "-Command" ] |
| 21 | + "options": { |
| 22 | + "shell": { |
| 23 | + "executable": "/usr/local/bin/pwsh", |
| 24 | + "args": [ "-NoProfile", "-Command" ] |
| 25 | + } |
| 26 | + } |
15 | 27 | }, |
16 | 28 |
|
17 | 29 | "tasks": [ |
18 | 30 | { |
19 | | - "taskName": "Install", |
20 | | - "suppressTaskName": true, |
21 | | - "args": [ "Invoke-Build", "Restore" ], |
| 31 | + "label": "Install", |
| 32 | + "type": "shell", |
| 33 | + "command": "Invoke-Build Restore", |
22 | 34 | "problemMatcher": [] |
23 | 35 | }, |
24 | 36 | { |
25 | | - "taskName": "CleanAll", |
26 | | - "suppressTaskName": true, |
27 | | - "args": [ "Invoke-Build", "CleanAll" ], |
| 37 | + "label": "CleanAll", |
| 38 | + "type": "shell", |
| 39 | + "command": "Invoke-Build CleanAll", |
28 | 40 | "problemMatcher": [] |
29 | 41 | }, |
30 | 42 | { |
31 | | - "taskName": "Clean", |
32 | | - "suppressTaskName": true, |
33 | | - "args": [ "Invoke-Build", "Clean" ], |
| 43 | + "label": "Clean", |
| 44 | + "type": "shell", |
| 45 | + "command": "Invoke-Build Clean", |
34 | 46 | "problemMatcher": [] |
35 | 47 | }, |
36 | 48 | { |
37 | | - "taskName": "BuildAll", |
38 | | - "suppressTaskName": true, |
39 | | - "args": [ "Invoke-Build", "BuildAll" ], |
| 49 | + "label": "BuildAll", |
| 50 | + "type": "shell", |
| 51 | + "command": "Invoke-Build BuildAll", |
40 | 52 | "group": { |
41 | 53 | "kind": "build", |
42 | 54 | "isDefault": true |
43 | 55 | }, |
44 | 56 | "problemMatcher": [] |
45 | 57 | }, |
46 | 58 | { |
47 | | - "taskName": "Build", |
48 | | - "suppressTaskName": true, |
49 | | - "args": [ "Invoke-Build", "Build" ], |
| 59 | + "label": "Build", |
| 60 | + "type": "shell", |
| 61 | + "command": "Invoke-Build Build", |
50 | 62 | "group": "build", |
51 | 63 | "problemMatcher": [] |
52 | 64 | }, |
53 | 65 | { |
54 | | - "taskName": "Test", |
55 | | - "suppressTaskName": true, |
56 | | - "args": [ "Invoke-Build", "Test" ], |
| 66 | + "label": "Test", |
| 67 | + "type": "shell", |
| 68 | + "command": "Invoke-Build Test", |
57 | 69 | "group": { |
58 | 70 | "kind": "test", |
59 | 71 | "isDefault": true |
|
0 commit comments