|
1 | 1 | { |
2 | | - "version": "0.1.0", |
| 2 | + "version": "2.0.0", |
3 | 3 | "command": "oscript", |
4 | | - "isShellCommand": true, |
5 | | - "showOutput": "silent", |
| 4 | + "presentation": { |
| 5 | + "echo": true, |
| 6 | + "reveal": "always", |
| 7 | + "focus": false, |
| 8 | + "panel": "shared", |
| 9 | + "showReuseMessage": true, |
| 10 | + "clear": false |
| 11 | + }, |
6 | 12 | "args": [ |
7 | 13 | "-encoding=utf-8" |
8 | 14 | ], |
9 | 15 | "tasks": [ |
10 | 16 | { |
11 | | - "taskName": "Exec all features", |
| 17 | + "type": "shell", |
| 18 | + "label": "Exec all features", |
| 19 | + "command":[ |
| 20 | + "1bdd" |
| 21 | + ], |
12 | 22 | "args": [ |
13 | | - "|", |
14 | | - "1bdd", |
15 | 23 | "${workspaceRoot}/features", |
16 | 24 | "-fail-fast", |
17 | 25 | "-out", |
18 | 26 | "${workspaceRoot}/exec.log" |
19 | 27 | ], |
20 | | - "echoCommand": true, |
21 | | - "showOutput": "always", |
22 | | - "suppressTaskName": true, |
23 | | - "isBuildCommand": true, |
24 | | - "isTestCommand": false, |
| 28 | + "presentation": { |
| 29 | + "echo": true, |
| 30 | + "reveal": "always", |
| 31 | + "focus": false, |
| 32 | + "panel": "shared", |
| 33 | + "showReuseMessage": true, |
| 34 | + "clear": false |
| 35 | + }, |
| 36 | + "group": "test", |
25 | 37 | "problemMatcher": { |
26 | 38 | "fileLocation": "absolute", |
27 | 39 | "pattern": { |
|
33 | 45 | } |
34 | 46 | }, |
35 | 47 | { |
36 | | - "taskName": "Exec feature", |
| 48 | + "type": "shell", |
| 49 | + "label": "Exec feature", |
| 50 | + "command":[ |
| 51 | + "1bdd" |
| 52 | + ], |
37 | 53 | "args": [ |
38 | | - "|", |
39 | | - "1bdd", |
40 | 54 | "${file}", |
41 | 55 | "-fail-fast", |
42 | 56 | "-out", |
43 | 57 | "${workspaceRoot}/exec.log" |
44 | 58 | ], |
45 | | - "echoCommand": true, |
46 | | - "showOutput": "always", |
47 | | - "suppressTaskName": true, |
48 | | - "isTestCommand": true, |
| 59 | + "presentation": { |
| 60 | + "echo": true, |
| 61 | + "reveal": "always", |
| 62 | + "focus": false, |
| 63 | + "panel": "shared", |
| 64 | + "showReuseMessage": true, |
| 65 | + "clear": false |
| 66 | + }, |
| 67 | + "group": "test", |
49 | 68 | "problemMatcher": { |
50 | 69 | "fileLocation": "absolute", |
51 | 70 | "pattern": [ |
|
59 | 78 | } |
60 | 79 | }, |
61 | 80 | { |
62 | | - "taskName": "Exec feature + debug", |
| 81 | + "type": "shell", |
| 82 | + "label": "Exec feature + debug", |
| 83 | + "command":[ |
| 84 | + "1bdd" |
| 85 | + |
| 86 | + ], |
63 | 87 | "args": [ |
64 | | - "|", |
65 | | - "1bdd", |
66 | 88 | "${file}", |
67 | 89 | "-fail-fast", |
68 | 90 | "-verbose", |
69 | 91 | "on", |
70 | 92 | "-out", |
71 | 93 | "${workspaceRoot}/exec.log" |
72 | 94 | ], |
73 | | - "echoCommand": true, |
74 | | - "showOutput": "always", |
75 | | - "suppressTaskName": true, |
76 | | - "isTestCommand": false, |
| 95 | + "presentation": { |
| 96 | + "echo": true, |
| 97 | + "reveal": "always", |
| 98 | + "focus": false, |
| 99 | + "panel": "shared", |
| 100 | + "showReuseMessage": true, |
| 101 | + "clear": false |
| 102 | + }, |
| 103 | + "group": "test", |
77 | 104 | "problemMatcher": { |
78 | 105 | "fileLocation": "absolute", |
79 | 106 | "pattern": { |
|
85 | 112 | } |
86 | 113 | }, |
87 | 114 | { |
88 | | - "taskName": "Generate feature steps", |
| 115 | + "type": "shell", |
| 116 | + "label": "Generate feature steps", |
| 117 | + "command":[ |
| 118 | + "1bdd" |
| 119 | + ], |
89 | 120 | "args": [ |
90 | | - "|", |
91 | | - "1bdd", |
92 | 121 | "gen", |
93 | 122 | "${file}", |
94 | 123 | // "-verbose", |
95 | 124 | // "on", |
96 | 125 | "-out", |
97 | 126 | "${workspaceRoot}/exec.log" |
98 | 127 | ], |
99 | | - "echoCommand": true, |
100 | | - "showOutput": "always", |
101 | | - "suppressTaskName": true, |
102 | | - "isTestCommand": false, |
| 128 | + "presentation": { |
| 129 | + "echo": true, |
| 130 | + "reveal": "always", |
| 131 | + "focus": false, |
| 132 | + "panel": "shared", |
| 133 | + "showReuseMessage": true, |
| 134 | + "clear": false |
| 135 | + }, |
| 136 | + "group": "build", |
103 | 137 | "problemMatcher": { |
104 | 138 | "fileLocation": "absolute", |
105 | 139 | "pattern": { |
|
111 | 145 | } |
112 | 146 | }, |
113 | 147 | { |
114 | | - "taskName": "Generate feature steps + debug", |
| 148 | + "type": "shell", |
| 149 | + "label": "Generate feature steps + debug", |
| 150 | + "command":[ |
| 151 | + "1bdd" |
| 152 | + ], |
115 | 153 | "args": [ |
116 | | - "|", |
117 | | - "1bdd", |
118 | 154 | "gen", |
119 | 155 | "${file}", |
120 | 156 | "-verbose", |
121 | 157 | "on", |
122 | 158 | "-out", |
123 | 159 | "${workspaceRoot}/gen.log" |
124 | 160 | ], |
125 | | - "echoCommand": true, |
126 | | - "showOutput": "always", |
127 | | - "suppressTaskName": true, |
128 | | - "isTestCommand": false, |
| 161 | + "presentation": { |
| 162 | + "echo": true, |
| 163 | + "reveal": "always", |
| 164 | + "focus": false, |
| 165 | + "panel": "shared", |
| 166 | + "showReuseMessage": true, |
| 167 | + "clear": false |
| 168 | + }, |
| 169 | + "group": "build", |
129 | 170 | "problemMatcher": { |
130 | 171 | "fileLocation": "absolute", |
131 | 172 | "pattern": { |
|
137 | 178 | } |
138 | 179 | }, |
139 | 180 | { |
140 | | - "taskName": "OneScript: compile", |
| 181 | + "type": "shell", |
| 182 | + "label": "OneScript: compile", |
| 183 | + "command":[ |
| 184 | + "oscript" |
| 185 | + ], |
141 | 186 | "args": [ |
142 | 187 | "-compile", |
143 | 188 | "${file}" |
144 | 189 | ], |
145 | | - "echoCommand": true, |
146 | | - "showOutput": "always", |
147 | | - "suppressTaskName": true, |
148 | | - "isBuildCommand": false |
| 190 | + "presentation": { |
| 191 | + "echo": true, |
| 192 | + "reveal": "always", |
| 193 | + "focus": false, |
| 194 | + "panel": "shared", |
| 195 | + "showReuseMessage": true, |
| 196 | + "clear": false |
| 197 | + }, |
| 198 | + "group": "test", |
149 | 199 | }, |
150 | 200 | { |
151 | | - "taskName": "OneScript: check", |
| 201 | + "type": "shell", |
| 202 | + "label": "OneScript: check", |
| 203 | + "command":[ |
| 204 | + "oscript" |
| 205 | + ], |
152 | 206 | "args": [ |
153 | 207 | "-check", |
154 | 208 | "${file}" |
155 | 209 | ], |
156 | | - "echoCommand": true, |
157 | | - "showOutput": "always", |
158 | | - "suppressTaskName": true, |
159 | | - "isBuildCommand": false |
| 210 | + "presentation": { |
| 211 | + "echo": true, |
| 212 | + "reveal": "always", |
| 213 | + "focus": false, |
| 214 | + "panel": "shared", |
| 215 | + "showReuseMessage": true, |
| 216 | + "clear": false |
| 217 | + }, |
| 218 | + "group": "test", |
160 | 219 | }, |
161 | 220 | { |
162 | | - "taskName": "OneScript: make", |
| 221 | + "type": "shell", |
| 222 | + "label": "OneScript: make", |
| 223 | + "command":[ |
| 224 | + "oscript" |
| 225 | + ], |
163 | 226 | "args": [ |
164 | 227 | "-make", |
165 | 228 | "${file}", |
166 | 229 | "${fileBasename}.exe" |
167 | 230 | ], |
168 | | - "echoCommand": true, |
169 | | - "showOutput": "always", |
170 | | - "suppressTaskName": true, |
171 | | - "isBuildCommand": false |
| 231 | + "presentation": { |
| 232 | + "echo": true, |
| 233 | + "reveal": "always", |
| 234 | + "focus": false, |
| 235 | + "panel": "shared", |
| 236 | + "showReuseMessage": true, |
| 237 | + "clear": false |
| 238 | + }, |
| 239 | + "group": "test", |
172 | 240 | }, |
173 | 241 | { |
174 | | - "taskName": "OneScript: run", |
| 242 | + "type": "shell", |
| 243 | + "label": "OneScript: run", |
| 244 | + "command":[ |
| 245 | + "oscript" |
| 246 | + ], |
175 | 247 | "args": [ |
176 | 248 | "${file}" |
177 | 249 | ], |
178 | | - "echoCommand": true, |
179 | | - "showOutput": "always", |
180 | | - "suppressTaskName": true, |
181 | | - "isBuildCommand": true, |
| 250 | + "presentation": { |
| 251 | + "echo": true, |
| 252 | + "reveal": "always", |
| 253 | + "focus": false, |
| 254 | + "panel": "shared", |
| 255 | + "showReuseMessage": true, |
| 256 | + "clear": false |
| 257 | + }, |
| 258 | + "group": "build", |
182 | 259 | "problemMatcher": { |
183 | 260 | "fileLocation": "absolute", |
184 | 261 | "pattern": { |
|
0 commit comments