Files
LibrarySystem/.vscode/tasks.json
2025-01-10 10:39:30 +01:00

104 lines
3.3 KiB
JSON

{
"version": "2.0.0",
"tasks": [
{
"label": "Build New Release",
"type": "shell",
// "dependsOn": [
// "Build LibrarySystem (Release)",
// "Build LibrarySystem (Debug)"
// ],
"command": "release.cmd",
"group": {
"kind": "build",
"isDefault": true
},
"presentation": {
"reveal": "always",
"panel": "new",
"focus": false
},
// "dependsOn": "Compress dist Folder Debug",
"problemMatcher": "$python"
},
{
"label": "Build LibrarySystem (Debug)",
"type": "shell",
"command": "uv",
"args": [
"run",
"python",
"-m",
"nuitka",
"--standalone",
"--output-dir=dist",
"--include-package=PyQt6",
"--include-package=pygments",
"--include-data-dir=./config=config",
"--include-data-dir=./docs=docs",
"--include-data-dir=./icons=icons",
"--include-data-dir=./.venv/Lib/site-packages/PyQt6/Qt6/plugins=PyQt6/Qt/plugins",
"--windows-icon-from-ico=icons/icon.ico",
"main_dev.py"
],
"group": {
"kind": "build",
"isDefault": false
},
"presentation": {
"reveal": "always",
"panel": "new",
"focus": false,
"close": true
},
// "dependsOn": "Compress dist Folder Debug",
"problemMatcher": "$python"
},
{
"label": "Build LibrarySystem (Release)",
"type": "shell",
"command": "uv",
"args": [
"run",
"python",
"-m",
"nuitka",
"--standalone",
"--output-dir=dist",
"--include-package=PyQt6",
"--include-package=pygments",
"--include-data-dir=./config=config",
"--include-data-dir=./docs=docs",
"--include-data-dir=./icons=icons",
"--include-data-dir=./.venv/Lib/site-packages/PyQt6/Qt6/plugins=PyQt6/Qt/plugins",
"--windows-icon-from-ico=icons/icon.ico",
"main.py"
],
"group": {
"kind": "build",
"isDefault": false
},
"presentation": {
"reveal": "always",
"panel": "new",
"focus": false,
"close": true
},
"problemMatcher": "$python"
},
{
"label": "Run LibrarySystem (live)",
"type": "shell",
"command": "c:/Users/aky547/GitHub/LibrarySystem/.venv/Scripts/python.exe",
"args": [
"'c:/Users/aky547/GitHub/LibrarySystem/main_dev.py'",
],
"group": {
"kind": "test",
"isDefault": true
},
"problemMatcher": "$python"
}
]
}