72 lines
1.6 KiB
JSON
72 lines
1.6 KiB
JSON
{
|
|
"version": "2.0.0",
|
|
"tasks": [
|
|
{
|
|
"label": "Tests: Run pytest",
|
|
"type": "shell",
|
|
"command": "${command:python.interpreterPath}",
|
|
"args": [
|
|
"-m",
|
|
"pytest"
|
|
],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}",
|
|
"env": {
|
|
"PYTHONPATH": "${workspaceFolder}/src"
|
|
}
|
|
},
|
|
"group": {
|
|
"kind": "test",
|
|
"isDefault": true
|
|
},
|
|
"presentation": {
|
|
"clear": true,
|
|
"reveal": "always",
|
|
"panel": "dedicated"
|
|
},
|
|
"problemMatcher": []
|
|
},
|
|
{
|
|
"label": "Qt: Open Designer",
|
|
"type": "shell",
|
|
"command": "${workspaceFolder}/.venv/bin/pyside6-designer",
|
|
"args": [],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}",
|
|
"env": {
|
|
"QT_QPA_PLATFORMTHEME": "qt6ct",
|
|
"QT_QPA_PLATFORM": "xcb"
|
|
}
|
|
},
|
|
"problemMatcher": [],
|
|
"presentation": {
|
|
"reveal": "always",
|
|
"panel": "dedicated"
|
|
}
|
|
},
|
|
{
|
|
"label": "Qt: Generate files",
|
|
"type": "process",
|
|
"command": "${workspaceFolder}/.venv/bin/python",
|
|
"args": [
|
|
"${workspaceFolder}/scripts/generate_qt_files.py"
|
|
],
|
|
"options": {
|
|
"cwd": "${workspaceFolder}",
|
|
"env": {
|
|
"PATH": "${workspaceFolder}/.venv/bin:${env:PATH}"
|
|
}
|
|
},
|
|
"group": {
|
|
"kind": "build",
|
|
"isDefault": true
|
|
},
|
|
"presentation": {
|
|
"clear": true,
|
|
"reveal": "always",
|
|
"panel": "dedicated"
|
|
},
|
|
"problemMatcher": []
|
|
}
|
|
]
|
|
} |