|
21 | 21 | "tasks": [
|
22 | 22 | // * -------------------------------------------------------------------------- * //
|
23 | 23 | // * Changes below should persist in significant template updates.
|
24 |
| - { |
25 |
| - "label": "proj: hide notebook inputs", |
26 |
| - "type": "shell", |
27 |
| - "options": { "shell": { "executable": "pwsh", "args": ["-Command"] } }, |
28 |
| - "command": "python -m boilercv.docs", |
29 |
| - "icon": { "id": "graph" }, |
30 |
| - "problemMatcher": [] |
31 |
| - }, |
32 |
| - { |
33 |
| - "label": "proj: Run file PREVIEW/WRITE", |
34 |
| - "type": "shell", |
35 |
| - "options": { |
36 |
| - "shell": { "executable": "pwsh", "args": ["-Command"] }, |
37 |
| - "env": { |
38 |
| - "BOILERCV_PREVIEW": "True", |
39 |
| - "BOILERCV_WRITE": "True" |
40 |
| - } |
41 |
| - }, |
42 |
| - "command": "python ${file}", |
43 |
| - "icon": { "id": "repo" }, |
44 |
| - "problemMatcher": [] |
45 |
| - }, |
46 |
| - { |
47 |
| - "label": "proj: Run file DEBUG/PREVIEW/WRITE", |
48 |
| - "type": "shell", |
49 |
| - "options": { |
50 |
| - "shell": { "executable": "pwsh", "args": ["-Command"] }, |
51 |
| - "env": { |
52 |
| - "BOILERCV_DEBUG": "True", |
53 |
| - "BOILERCV_PREVIEW": "True", |
54 |
| - "BOILERCV_WRITE": "True" |
55 |
| - } |
56 |
| - }, |
57 |
| - "command": "python ${file}", |
58 |
| - "icon": { "id": "repo" }, |
59 |
| - "problemMatcher": [] |
60 |
| - }, |
61 |
| - { |
62 |
| - "label": "proj: Run file PREVIEW", |
63 |
| - "type": "shell", |
64 |
| - "options": { |
65 |
| - "shell": { "executable": "pwsh", "args": ["-Command"] }, |
66 |
| - "env": { "BOILERCV_PREVIEW": "True" } |
67 |
| - }, |
68 |
| - "command": "python ${file}", |
69 |
| - "icon": { "id": "repo" }, |
70 |
| - "problemMatcher": [] |
71 |
| - }, |
72 |
| - { |
73 |
| - "label": "proj: Run file WRITE", |
74 |
| - "type": "shell", |
75 |
| - "options": { |
76 |
| - "shell": { "executable": "pwsh", "args": ["-Command"] }, |
77 |
| - "env": { "BOILERCV_WRITE": "True" } |
78 |
| - }, |
79 |
| - "command": "python ${file}", |
80 |
| - "icon": { "id": "repo" }, |
81 |
| - "problemMatcher": [] |
82 |
| - }, |
83 |
| - { |
84 |
| - "label": "proj: preview", |
85 |
| - "type": "shell", |
86 |
| - "options": { |
87 |
| - "shell": { "executable": "pwsh", "args": ["-Command"] }, |
88 |
| - "env": { "BOILERCV_PREVIEW": "True" } |
89 |
| - }, |
90 |
| - "command": "python -m boilercv.previews.${input:preview}", |
91 |
| - "icon": { "id": "graph" }, |
92 |
| - "problemMatcher": [] |
93 |
| - }, |
94 |
| - { |
95 |
| - "label": "dvc: repro build docs", |
96 |
| - "dependsOrder": "sequence", |
97 |
| - "dependsOn": ["dvc: pre-repro"], |
98 |
| - "type": "shell", |
99 |
| - "options": { "shell": { "executable": "pwsh", "args": ["-Command"] } }, |
100 |
| - "command": "dvc repro build_docs", |
101 |
| - "icon": { "id": "graph" }, |
102 |
| - "problemMatcher": [] |
103 |
| - }, |
104 |
| - { |
105 |
| - "label": "dvc: repro force downstream (debug)", |
106 |
| - "dependsOrder": "sequence", |
107 |
| - "dependsOn": ["dvc: pre-repro"], |
108 |
| - "type": "shell", |
109 |
| - "options": { |
110 |
| - "shell": { "executable": "pwsh", "args": ["-Command"] }, |
111 |
| - "env": { "BOILERCV_DEBUG": "True" } |
112 |
| - }, |
113 |
| - "command": "dvc repro --force --downstream ${input:stage}", |
114 |
| - "icon": { "id": "graph" }, |
115 |
| - "problemMatcher": [] |
116 |
| - }, |
117 |
| - { |
118 |
| - "label": "dvc: repro (debug)", |
119 |
| - "dependsOrder": "sequence", |
120 |
| - "dependsOn": ["dvc: pre-repro"], |
121 |
| - "type": "shell", |
122 |
| - "options": { |
123 |
| - "shell": { "executable": "pwsh", "args": ["-Command"] }, |
124 |
| - "env": { "BOILERCV_DEBUG": "True" } |
125 |
| - }, |
126 |
| - "command": "dvc repro ${input:stage}", |
127 |
| - "icon": { "id": "graph" }, |
128 |
| - "problemMatcher": [] |
129 |
| - }, |
130 |
| - { |
131 |
| - "label": "dvc: repro force downstream", |
132 |
| - "dependsOrder": "sequence", |
133 |
| - "dependsOn": ["dvc: pre-repro"], |
134 |
| - "type": "shell", |
135 |
| - "options": { "shell": { "executable": "pwsh", "args": ["-Command"] } }, |
136 |
| - "command": "dvc repro --force --downstream ${input:stage}", |
137 |
| - "icon": { "id": "graph" }, |
138 |
| - "problemMatcher": [] |
139 |
| - }, |
140 |
| - { |
141 |
| - "label": "dvc: repro", |
142 |
| - "dependsOrder": "sequence", |
143 |
| - "dependsOn": ["dvc: pre-repro"], |
144 |
| - "type": "shell", |
145 |
| - "options": { "shell": { "executable": "pwsh", "args": ["-Command"] } }, |
146 |
| - "command": "dvc repro ${input:stage}", |
147 |
| - "icon": { "id": "graph" }, |
148 |
| - "problemMatcher": [] |
149 |
| - }, |
150 |
| - { |
151 |
| - "label": "dvc: repro force all", |
152 |
| - "dependsOrder": "sequence", |
153 |
| - "dependsOn": [ |
154 |
| - "setup: Update project", |
155 |
| - "dvc: pre-repro", |
156 |
| - "dvc: freeze", |
157 |
| - "git: Stage all files", |
158 |
| - "pre-commit", |
159 |
| - "git: Stage all files" |
160 |
| - ], |
161 |
| - "type": "shell", |
162 |
| - "options": { "shell": { "executable": "pwsh", "args": ["-Command"] } }, |
163 |
| - "command": "dvc repro --force", |
164 |
| - "icon": { "id": "graph" }, |
165 |
| - "problemMatcher": [] |
166 |
| - }, |
167 |
| - { |
168 |
| - "label": "dvc: repro all", |
169 |
| - "dependsOrder": "sequence", |
170 |
| - "dependsOn": [ |
171 |
| - "setup: Update project", |
172 |
| - "dvc: pre-repro", |
173 |
| - "dvc: freeze", |
174 |
| - "git: Stage all files", |
175 |
| - "pre-commit", |
176 |
| - "git: Stage all files" |
177 |
| - ], |
178 |
| - "type": "shell", |
179 |
| - "options": { "shell": { "executable": "pwsh", "args": ["-Command"] } }, |
180 |
| - "command": "dvc repro", |
181 |
| - "icon": { "id": "graph" }, |
182 |
| - "problemMatcher": [] |
183 |
| - }, |
184 |
| - { |
185 |
| - "label": "dvc: dag", |
186 |
| - "dependsOrder": "sequence", |
187 |
| - "dependsOn": ["dvc: pre-repro"], |
188 |
| - "type": "shell", |
189 |
| - "options": { "shell": { "executable": "pwsh", "args": ["-Command"] } }, |
190 |
| - "command": "(dvc dag --md) -Replace 'mermaid', '{mermaid}' > docs/dag.md && . '~/.local/nodeenvs/markdownlint/Scripts/Activate.ps1' && markdownlint --fix docs/dag.md", |
191 |
| - "icon": { "id": "graph" }, |
192 |
| - "problemMatcher": [] |
193 |
| - }, |
194 |
| - { |
195 |
| - "label": "dvc: pre-repro", |
196 |
| - "type": "shell", |
197 |
| - "options": { "shell": { "executable": "pwsh", "args": ["-Command"] } }, |
198 |
| - "command": "python -m boilercv.pre_repro", |
199 |
| - "icon": { "id": "graph" }, |
200 |
| - "problemMatcher": [] |
201 |
| - }, |
202 |
| - { |
203 |
| - "label": "dvc: freeze", |
204 |
| - "type": "shell", |
205 |
| - "options": { "shell": { "executable": "pwsh", "args": ["-Command"] } }, |
206 |
| - "command": "pip freeze --requirement .tools/requirements/requirements.txt --local --exclude-editable > repro.txt", |
207 |
| - "icon": { "id": "graph" }, |
208 |
| - "problemMatcher": [] |
209 |
| - }, |
210 |
| - // * -------------------------------------------------------------------------- * // |
211 |
| - // * WSL-SPECIFIC * // |
212 |
| - { |
213 |
| - "label": "wsl: Copy PID of Python Debugger", |
214 |
| - "type": "shell", |
215 |
| - "command": "ps aux | grep python | grep --max-count 1 -- --adapter-access-token | grep --only-matching --perl-regexp 'user\\s+\\d+' | grep --only-matching --perl-regexp '\\d+' | clip.exe", |
216 |
| - "group": { |
217 |
| - "kind": "test", |
218 |
| - "isDefault": true |
219 |
| - }, |
220 |
| - "presentation": { |
221 |
| - "close": false, |
222 |
| - "focus": true, |
223 |
| - "reveal": "always" |
224 |
| - }, |
225 |
| - "icon": { "id": "terminal-linux" }, |
226 |
| - "problemMatcher": [] |
227 |
| - }, |
228 | 24 |
|
229 | 25 | // * -------------------------------------------------------------------------- * //
|
230 | 26 | // * Changes below may be lost in significant template updates.
|
|
0 commit comments