1
Fork 0
mirror of https://github.com/Steffo99/config-fish.git synced 2024-10-16 06:17:34 +00:00

Add uvx python functions

This commit is contained in:
Steffo 2024-09-09 15:52:48 +02:00
parent e9395c3787
commit 526504fe0c
Signed by: steffo
GPG key ID: 5ADA3868646C3FC0
2 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,6 @@
which uvx --skip-functions >/dev/null 2>/dev/null
if [ $status -eq 0 ]
function python-build
uvx --from build pyproject-build --installer uv
end
end

View file

@ -0,0 +1,6 @@
which uvx --skip-functions >/dev/null 2>/dev/null
if [ $status -eq 0 ]
function python-publish
uvx twine upload --non-interactive --verbose --username "Steffo" dist/*
end
end