updates
This commit is contained in:
111
.vscode/tasks.json
vendored
Normal file
111
.vscode/tasks.json
vendored
Normal file
@@ -0,0 +1,111 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Build LibrarySystem (Debug)",
|
||||
"type": "shell",
|
||||
"command": "pyinstaller",
|
||||
"args": [
|
||||
"--noconfirm",
|
||||
"--onedir",
|
||||
"--console",
|
||||
"--icon",
|
||||
"'${config:ApplicationIconPath}'",
|
||||
"--name",
|
||||
"LibrarySystem-debug",
|
||||
"--contents-directory",
|
||||
".",
|
||||
"--clean",
|
||||
"--add-data",
|
||||
"'${config:configPath};config/'",
|
||||
"--add-data",
|
||||
"'${config:iconsPath};icons/'",
|
||||
"'${workspaceFolder}/main_dev.py'"
|
||||
],
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": true
|
||||
},
|
||||
"presentation": {
|
||||
"reveal": "always",
|
||||
"panel": "new",
|
||||
"focus": false
|
||||
},
|
||||
"dependsOn": "Compress dist Folder Debug",
|
||||
"problemMatcher": "$pyinstaller"
|
||||
},
|
||||
{
|
||||
"label": "Build LibrarySystem (Release)",
|
||||
"type": "shell",
|
||||
"command": "pyinstaller",
|
||||
"args": [
|
||||
"--noconfirm",
|
||||
"--onedir",
|
||||
"--windowed",
|
||||
"--name",
|
||||
"LibrarySystem",
|
||||
"--contents-directory",
|
||||
".",
|
||||
"--clean",
|
||||
"--add-data",
|
||||
"'${config:configPath};config/'",
|
||||
"--add-data",
|
||||
"'${config:iconsPath};icons/'",
|
||||
"--icon",
|
||||
"'${config:ApplicationIconPath}'",
|
||||
"'${workspaceFolder}/main.py'"
|
||||
],
|
||||
"group": {
|
||||
"kind": "build",
|
||||
"isDefault": false
|
||||
},
|
||||
"presentation": {
|
||||
"reveal": "always",
|
||||
"panel": "new",
|
||||
"focus": false
|
||||
},
|
||||
"dependsOn": "Compress dist Folder Release",
|
||||
"problemMatcher": "$pyinstaller"
|
||||
},
|
||||
{
|
||||
"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'",
|
||||
"--ic-logging"
|
||||
],
|
||||
"group": {
|
||||
"kind": "test",
|
||||
"isDefault": true
|
||||
},
|
||||
"problemMatcher": "$python"
|
||||
},
|
||||
{
|
||||
"label": "Compress dist Folder Debug",
|
||||
"type": "shell",
|
||||
"command": "Compress-Archive",
|
||||
"args": [
|
||||
"-Path",
|
||||
"${workspaceFolder}/dist/LibrarySystem-debug/",
|
||||
"-DestinationPath",
|
||||
"${workspaceFolder}/output/LibrarySystem-debug.zip",
|
||||
],
|
||||
"group": "build",
|
||||
"presentation": "panel"
|
||||
},
|
||||
{
|
||||
"label": "Compress dist Folder Release",
|
||||
"type": "shell",
|
||||
"command": "Compress-Archive",
|
||||
"args": [
|
||||
"-Path",
|
||||
"${workspaceFolder}/dist/LibrarySystem/",
|
||||
"-DestinationPath",
|
||||
"${workspaceFolder}/output/LibrarySystem.zip",
|
||||
],
|
||||
"group": "build",
|
||||
"presentation": "panel"
|
||||
}
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user