Skip to content

Commit 94afa99

Browse files
committed
Refactor cleanup task to use Python script and remove obsolete batch file
1 parent b02c1d5 commit 94afa99

File tree

4 files changed

+9
-1708
lines changed

4 files changed

+9
-1708
lines changed

.gitignore

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,4 +55,5 @@ htmlcov
5555
# Other
5656
*.bak
5757
*_ui.py
58-
*.mo
58+
*.mo
59+
*.pot

.vscode/tasks.json

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -275,17 +275,19 @@
275275
{
276276
"label": "🧹 Clean Up",
277277
"type": "shell",
278-
"command": "cmd",
278+
"command": "${command:python.interpreterPath}",
279279
"args": [
280-
"/c",
281-
"clean_up.bat",
280+
"scripts/run_with_env.py",
281+
"${command:python.interpreterPath}",
282+
"-m",
283+
"guidata.utils.cleanup"
282284
],
283285
"options": {
284-
"cwd": "scripts",
286+
"cwd": "${workspaceFolder}"
285287
},
286288
"group": {
287289
"kind": "build",
288-
"isDefault": true,
290+
"isDefault": true
289291
},
290292
"presentation": {
291293
"echo": true,

0 commit comments

Comments
 (0)