Build tasks updated

This commit is contained in:
Profitroll 2023-01-27 12:17:46 +01:00
parent 29d84082f1
commit cd6b6599c5
3 changed files with 19 additions and 1 deletions

18
.vscode/tasks.json vendored
View File

@ -6,7 +6,23 @@
{
"label": "Clean up",
"type": "shell",
"command": ".\\.vscode\\tasks\\cleanup.bat",
"command": "./.vscode/tasks/cleanup.bat",
"problemMatcher": []
},
{
"label": "Build",
"type": "shell",
"command": "./.vscode/tasks/build.bat",
"problemMatcher": [],
"group": {
"kind": "build",
"isDefault": true
}
},
{
"label": "Test EXE",
"type": "shell",
"command": "./.vscode/tasks/test_exe.bat",
"problemMatcher": []
}
]

1
.vscode/tasks/build.bat vendored Normal file
View File

@ -0,0 +1 @@
.\buildenv\scripts\activate && pyinstaller main.py --noconfirm --add-data assets;assets --add-data sv_ttk;sv_ttk

1
.vscode/tasks/test_exe.bat vendored Normal file
View File

@ -0,0 +1 @@
cd .\dist\main && .\main.exe