|
55 | 55 | }
|
56 | 56 | },
|
57 | 57 | {
|
58 |
| - "label": "Note-C: Run `astyle` Formatter", |
| 58 | + "label": "Note-C: Generate Coverage HTML", |
59 | 59 | "type": "shell",
|
60 |
| - "command": "./scripts/run_astyle.sh", |
| 60 | + "command": "genhtml lcov.info -o tmp", |
61 | 61 | "args": [],
|
62 | 62 | "options": {
|
63 |
| - "cwd": "${workspaceFolder}", |
| 63 | + "cwd": "${workspaceFolder}/build/test/coverage", |
64 | 64 | "env": {
|
65 | 65 | "LC_ALL": "C"
|
66 | 66 | }
|
67 | 67 | },
|
68 | 68 | "problemMatcher": [],
|
69 | 69 | "group": {
|
70 | 70 | "kind": "none"
|
71 |
| - } |
| 71 | + }, |
| 72 | + "dependsOn": [ |
| 73 | + "Note-C: Compile and Run ALL Tests (with coverage)" |
| 74 | + ] |
72 | 75 | },
|
73 | 76 | {
|
74 |
| - "label": "Note-C: Generate Coverage HTML", |
| 77 | + "label": "Note-C: Generate Documentation", |
75 | 78 | "type": "shell",
|
76 |
| - "command": "genhtml lcov.info -o tmp", |
| 79 | + "command": "./scripts/build_docs.sh", |
77 | 80 | "args": [],
|
78 | 81 | "options": {
|
79 |
| - "cwd": "${workspaceFolder}/build/test/coverage", |
| 82 | + "cwd": "${workspaceFolder}", |
80 | 83 | "env": {
|
81 | 84 | "LC_ALL": "C"
|
82 | 85 | }
|
83 | 86 | },
|
84 | 87 | "problemMatcher": [],
|
85 | 88 | "group": {
|
86 | 89 | "kind": "none"
|
87 |
| - }, |
88 |
| - "dependsOn": [ |
89 |
| - "Note-C: Compile and Run ALL Tests (with coverage)" |
90 |
| - ] |
| 90 | + } |
91 | 91 | },
|
92 | 92 | {
|
93 |
| - "label": "Note-C: Generate Documentation", |
| 93 | + "label": "Note-C: Run `astyle` Formatter", |
94 | 94 | "type": "shell",
|
95 |
| - "command": "./scripts/build_docs.sh", |
| 95 | + "command": "./scripts/run_astyle.sh", |
96 | 96 | "args": [],
|
97 | 97 | "options": {
|
98 | 98 | "cwd": "${workspaceFolder}",
|
|
106 | 106 | }
|
107 | 107 | },
|
108 | 108 | {
|
109 |
| - "label": "Note-C: Run Static Analysis", |
| 109 | + "label": "Note-C: Run License Compliance Check", |
110 | 110 | "type": "shell",
|
111 |
| - "command": "${workspaceFolder}/scripts/run_cppcheck.sh", |
| 111 | + "command": "${workspaceFolder}/scripts/run_scancode.sh", |
112 | 112 | "options": {
|
113 | 113 | "cwd": "${workspaceFolder}",
|
114 | 114 | "env": {
|
115 | 115 | "LC_ALL": "C"
|
116 | 116 | }
|
117 | 117 | },
|
118 |
| - "problemMatcher": [ |
119 |
| - "$gcc" |
120 |
| - ], |
| 118 | + "problemMatcher": [], |
121 | 119 | "group": "test"
|
122 |
| - } |
123 |
| - , |
| 120 | + }, |
124 | 121 | {
|
125 |
| - "label": "Note-C: Run License Compliance Check", |
| 122 | + "label": "Note-C: Run Static Analysis", |
126 | 123 | "type": "shell",
|
127 |
| - "command": "${workspaceFolder}/scripts/run_scancode.sh", |
| 124 | + "command": "${workspaceFolder}/scripts/run_cppcheck.sh", |
128 | 125 | "options": {
|
129 | 126 | "cwd": "${workspaceFolder}",
|
130 | 127 | "env": {
|
131 | 128 | "LC_ALL": "C"
|
132 | 129 | }
|
133 | 130 | },
|
134 |
| - "problemMatcher": [], |
| 131 | + "problemMatcher": [ |
| 132 | + "$gcc" |
| 133 | + ], |
135 | 134 | "group": "test"
|
136 | 135 | }
|
137 | 136 | ]
|
|
0 commit comments