|
9 | 9 | { |
10 | 10 | // See https://go.microsoft.com/fwlink/?LinkId=733558 |
11 | 11 | // for the documentation about the tasks.json format |
12 | | - "version": "0.1.0", |
| 12 | + "version": "2.0.0", |
13 | 13 | "runner": "terminal", |
14 | 14 |
|
15 | 15 | // Start PowerShell |
|
26 | 26 | // The command is a shell script |
27 | 27 | "isShellCommand": true, |
28 | 28 |
|
29 | | - // Show the output window always |
30 | | - "showOutput": "always", |
31 | | - |
32 | 29 | "args": [ |
33 | 30 | "-NoProfile", "-ExecutionPolicy", "Bypass" |
34 | 31 | ], |
35 | 32 |
|
36 | 33 | // Associate with test task runner |
37 | 34 | "tasks": [ |
38 | 35 | { |
39 | | - "taskName": "Clean", |
40 | | - "suppressTaskName": true, |
41 | | - "showOutput": "always", |
| 36 | + "label": "Clean", |
| 37 | + "type": "shell", |
42 | 38 | "args": [ |
| 39 | + "-NoProfile", |
| 40 | + "-ExecutionPolicy", |
| 41 | + "Bypass", |
43 | 42 | "Invoke-Build -Task Clean" |
44 | | - ] |
| 43 | + ], |
| 44 | + "problemMatcher": [] |
45 | 45 | }, |
46 | 46 | { |
47 | | - "taskName": "Build", |
48 | | - "suppressTaskName": true, |
49 | | - "isBuildCommand": true, |
50 | | - "showOutput": "always", |
| 47 | + "label": "Build", |
| 48 | + "type": "shell", |
51 | 49 | "args": [ |
| 50 | + "-NoProfile", |
| 51 | + "-ExecutionPolicy", |
| 52 | + "Bypass", |
52 | 53 | "Invoke-Build" |
53 | | - ] |
| 54 | + ], |
| 55 | + "problemMatcher": [], |
| 56 | + "group": "build" |
54 | 57 | }, |
55 | 58 | { |
56 | | - "taskName": "BuildHelp", |
57 | | - "suppressTaskName": true, |
58 | | - "showOutput": "always", |
| 59 | + "label": "BuildHelp", |
| 60 | + "type": "shell", |
59 | 61 | "args": [ |
| 62 | + "-NoProfile", |
| 63 | + "-ExecutionPolicy", |
| 64 | + "Bypass", |
60 | 65 | "Invoke-Build -Task BuildDocs" |
61 | | - ] |
| 66 | + ], |
| 67 | + "problemMatcher": [] |
62 | 68 | }, |
63 | 69 | { |
64 | | - "taskName": "Analyze", |
65 | | - "suppressTaskName": true, |
66 | | - "showOutput": "always", |
| 70 | + "label": "Analyze", |
| 71 | + "type": "shell", |
67 | 72 | "args": [ |
| 73 | + "-NoProfile", |
| 74 | + "-ExecutionPolicy", |
| 75 | + "Bypass", |
68 | 76 | "Invoke-Build -Task Analyze" |
69 | | - ] |
| 77 | + ], |
| 78 | + "problemMatcher": [] |
70 | 79 | }, |
71 | 80 | { |
72 | | - "taskName": "Install", |
73 | | - "suppressTaskName": true, |
74 | | - "showOutput": "always", |
| 81 | + "label": "Install", |
| 82 | + "type": "shell", |
75 | 83 | "args": [ |
| 84 | + "-NoProfile", |
| 85 | + "-ExecutionPolicy", |
| 86 | + "Bypass", |
76 | 87 | "Invoke-Build -Task Install" |
77 | | - ] |
| 88 | + ], |
| 89 | + "problemMatcher": [] |
78 | 90 | }, |
79 | 91 | { |
80 | | - "taskName": "Test", |
81 | | - "suppressTaskName": true, |
82 | | - "isTestCommand": true, |
83 | | - "showOutput": "always", |
| 92 | + "label": "Test", |
| 93 | + "type": "shell", |
84 | 94 | "args": [ |
| 95 | + "-NoProfile", |
| 96 | + "-ExecutionPolicy", |
| 97 | + "Bypass", |
85 | 98 | "Invoke-Build -Task Test" |
86 | 99 | ], |
87 | 100 | "problemMatcher": [ |
88 | 101 | { |
89 | 102 | "owner": "powershell", |
90 | | - "fileLocation": ["absolute"], |
| 103 | + "fileLocation": [ |
| 104 | + "absolute" |
| 105 | + ], |
91 | 106 | "severity": "error", |
92 | 107 | "pattern": [ |
93 | 108 | { |
|
101 | 116 | } |
102 | 117 | ] |
103 | 118 | } |
104 | | - ] |
| 119 | + ], |
| 120 | + "group": "test" |
105 | 121 | } |
106 | 122 | ] |
107 | 123 | } |
108 | | - |
|
0 commit comments