From ce752d30e2adca0e09d09aed7790c6c8bacec9d3 Mon Sep 17 00:00:00 2001 From: profitroll Date: Thu, 10 Aug 2023 14:20:08 +0200 Subject: [PATCH] Added VSCode tasks --- .vscode/tasks.json | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 .vscode/tasks.json diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..7bef46d --- /dev/null +++ b/.vscode/tasks.json @@ -0,0 +1,33 @@ +{ + // See https://go.microsoft.com/fwlink/?LinkId=733558 + // for the documentation about the tasks.json format + "version": "2.0.0", + "tasks": [ + { + "label": "Build", + "type": "shell", + "linux": { + "command": "./.venv/bin/python -m build" + }, + "windows": { + "command": ".\\.venv\\Scripts\\python.exe -m build" + }, + "problemMatcher": [], + "group": { + "kind": "build", + "isDefault": true + } + }, + { + "label": "Publish", + "type": "shell", + "linux": { + "command": "./.venv/bin/python -m twine upload --repository gitea ./dist/*" + }, + "windows": { + "command": ".\\.venv\\Scripts\\python.exe -m twine upload --repository gitea ./dist/*" + }, + "problemMatcher": [] + } + ] +} \ No newline at end of file