updated just recipes

This commit is contained in:
Daniel Fichtinger 2025-07-13 21:33:36 -04:00
parent db8318622c
commit e69dd80875

View file

@ -2,6 +2,28 @@
default: default:
@just --list @just --list
clean:
#!/bin/sh
if [ ! -d "dist" ] && [ ! -d "__pycache__" ]; then
echo "Nothing to clean."
exit 0
fi
if [ -d "dist" ]; then
echo "Removing dist/"
rm -r dist/
fi
if [ -d "__pycache__" ]; then
echo "Removing __pycache__/"
rm -r "__pycache__"
fi
publish:
#!/bin/sh
just clean
uv build
export UV_PUBLISH_TOKEN="$(pass show pypi)"
uv publish
format: format:
uv run ruff format uv run ruff format