33 lines
971 B
JSON
33 lines
971 B
JSON
|
{
|
||
|
// 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": []
|
||
|
}
|
||
|
]
|
||
|
}
|