Added VSCode tasks
This commit is contained in:
parent
1365273ff0
commit
ce752d30e2
33
.vscode/tasks.json
vendored
Normal file
33
.vscode/tasks.json
vendored
Normal file
@ -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": []
|
||||||
|
}
|
||||||
|
]
|
||||||
|
}
|
Loading…
Reference in New Issue
Block a user