|
7 | 7 | "tasks": [ |
8 | 8 | { |
9 | 9 | "label": "buildOta", |
10 | | - "detail": "$(tools) Build the flashable OTA zip.", |
| 10 | + "icon": { "id": "rocket", "color": "terminal.ansiCyan" }, |
| 11 | + "detail": "Build the flashable zip [Full edition].", |
11 | 12 | "type": "shell", |
12 | 13 | "command": "${workspaceFolder}/build.sh", |
13 | 14 | "windows": { |
|
18 | 19 | "BUILD_TYPE": "full" |
19 | 20 | } |
20 | 21 | }, |
21 | | - "group": { |
22 | | - "kind": "build" |
23 | | - }, |
24 | | - "problemMatcher": [] |
| 22 | + "group": "build", |
| 23 | + "problemMatcher": { |
| 24 | + "owner": "shell-build", |
| 25 | + "fileLocation": "search", |
| 26 | + "pattern": [ |
| 27 | + { |
| 28 | + "regexp": "^([^:]+):(\\d+):\\s+(ERROR|WARNING):\\s+\\[([^\\]]*)\\]\\s+(.*)$", |
| 29 | + "file": 1, |
| 30 | + "line": 2, |
| 31 | + "severity": 3, |
| 32 | + "code": 4, |
| 33 | + "message": 5 |
| 34 | + } |
| 35 | + ] |
| 36 | + } |
25 | 37 | }, |
26 | 38 | { |
27 | 39 | "label": "buildOtaOSS", |
28 | | - "detail": "$(tools) Build the flashable OTA zip (open-source components only).", |
| 40 | + "icon": { "id": "rocket", "color": "terminal.ansiGreen" }, |
| 41 | + "detail": "Build the flashable zip [OSS edition].", |
29 | 42 | "type": "shell", |
30 | 43 | "command": "${workspaceFolder}/build.sh", |
31 | 44 | "windows": { |
|
36 | 49 | "BUILD_TYPE": "oss" |
37 | 50 | } |
38 | 51 | }, |
39 | | - "group": { |
40 | | - "kind": "build", |
41 | | - "isDefault": true |
42 | | - }, |
43 | | - "problemMatcher": [] |
| 52 | + "group": "build", |
| 53 | + "problemMatcher": { |
| 54 | + "owner": "shell-build", |
| 55 | + "fileLocation": "search", |
| 56 | + "pattern": [ |
| 57 | + { |
| 58 | + "regexp": "^([^:]+):(\\d+):\\s+(ERROR|WARNING):\\s+\\[([^\\]]*)\\]\\s+(.*)$", |
| 59 | + "file": 1, |
| 60 | + "line": 2, |
| 61 | + "severity": 3, |
| 62 | + "code": 4, |
| 63 | + "message": 5 |
| 64 | + } |
| 65 | + ] |
| 66 | + } |
44 | 67 | }, |
45 | 68 | { |
46 | 69 | "label": "installTest", |
47 | | - "detail": "Emulate an Android recovery on your PC and run the flashable zip file inside it to see the result.", |
| 70 | + "icon": { "id": "beaker", "color": "terminal.ansiYellow" }, |
| 71 | + "detail": "Test the flashable zip in a simulated Android recovery environment on your PC.", |
48 | 72 | "type": "shell", |
49 | 73 | "command": "${workspaceFolder}/recovery-simulator/recovery.sh", |
50 | 74 | "args": ["${workspaceFolder}/output/*.zip"], |
|
65 | 89 | "panel": "dedicated" |
66 | 90 | }, |
67 | 91 | "problemMatcher": [] |
| 92 | + }, |
| 93 | + { |
| 94 | + "label": "reuse-lint", |
| 95 | + "icon": { "id": "law", "color": "terminal.ansiMagenta" }, |
| 96 | + "detail": "Verify license and copyright compliance (REUSE).", |
| 97 | + "type": "shell", |
| 98 | + "command": "reuse", |
| 99 | + "args": ["lint"] |
68 | 100 | } |
69 | 101 | ] |
70 | 102 | } |
0 commit comments