Skip to content

Commit 324202c

Browse files
committed
Refactor build task in tasks.json: simplify command and update dependencies; remove obsolete build_dist.bat script
1 parent eb609eb commit 324202c

File tree

2 files changed

+13
-42
lines changed

2 files changed

+13
-42
lines changed

.vscode/tasks.json

Lines changed: 13 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -345,39 +345,28 @@
345345
"problemMatcher": []
346346
},
347347
{
348-
"label": "📦 Build Python packages",
348+
"label": "📦 Build package",
349349
"type": "shell",
350-
"command": "cmd",
351-
"options": {
352-
"cwd": "scripts",
353-
"env": {
354-
"PYTHON": "${command:python.interpreterPath}",
355-
"UNATTENDED": "1",
356-
},
357-
"statusbar": {
358-
"hide": true
359-
}
360-
},
350+
"command": "${command:python.interpreterPath}",
361351
"args": [
362-
"/c",
363-
"build_dist.bat"
352+
"-m",
353+
"guidata.utils.securebuild",
364354
],
365-
"problemMatcher": [],
355+
"options": {
356+
"cwd": "${workspaceFolder}"
357+
},
366358
"group": {
367359
"kind": "build",
368360
"isDefault": false
369361
},
370362
"presentation": {
371-
"echo": true,
372-
"reveal": "always",
373-
"focus": false,
374-
"panel": "shared",
375-
"showReuseMessage": true,
376-
"clear": true
363+
"clear": true,
364+
"panel": "dedicated"
377365
},
366+
"problemMatcher": [],
378367
"dependsOrder": "sequence",
379368
"dependsOn": [
380-
"Clean Up",
369+
"🧹 Clean Up",
381370
"Generate requirements"
382371
]
383372
},
@@ -414,7 +403,7 @@
414403
},
415404
"dependsOrder": "sequence",
416405
"dependsOn": [
417-
"Clean Up",
406+
"🧹 Clean Up",
418407
]
419408
},
420409
{
@@ -447,7 +436,7 @@
447436
},
448437
"dependsOrder": "sequence",
449438
"dependsOn": [
450-
"Clean Up",
439+
"🧹 Clean Up",
451440
]
452441
},
453442
{

scripts/build_dist.bat

Lines changed: 0 additions & 18 deletions
This file was deleted.

0 commit comments

Comments
 (0)