diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..7f0b23e --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,65 @@ +{ + "version": "2.0.0", + "tasks": [ + { + "label": "🛠 Setup Virtual Environment", + "type": "shell", + "command": "${input:pythonPath}", + "args": ["setup.py"], + "problemMatcher": [], + "group": { + "kind": "build", + "isDefault": true + } + }, + { + "label": "🔨 Build Executable", + "type": "shell", + "command": "venv\\Scripts\\activate.ps1", + "problemMatcher": [], + "group": { + "kind": "build", + "isDefault": true + } + }, + { + "label": "🚀 Run Build Script", + "type": "shell", + "command": "venv\\Scripts\\python.exe", + "args": [ + "build.py" + ], + // "options": { + // "cwd": "${workspaceFolder}/venv/Scripts" + // }, + "problemMatcher": [], + "group": { + "kind": "build", + "isDefault": true + } + }, + { + "label": "🛠 Full Build", + "type": "shell", + "dependsOn": [ + "🛠 Setup Virtual Environment", + "🔨 Build Executable", + "🚀 Run Build Script" + ], + "dependsOrder": "sequence", + "problemMatcher": [], + "group": { + "kind": "build", + "isDefault": true + } + } + ], + "inputs": [ + { + "id": "pythonPath", + "type": "promptString", + "description": "Enter the full path to your Python executable", + "default": "C:\\Program Files\\Python39\\python.exe" + } + ] +}