Skip to content

Commit

Permalink
Move distibute to makefile, add make test
Browse files Browse the repository at this point in the history
  • Loading branch information
mangelajo committed Aug 25, 2024
1 parent 810ab20 commit 9ee9148
Show file tree
Hide file tree
Showing 3 changed files with 18 additions and 5 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
.tox
**/.DS_Store
*.swp
*.pyc
build/
Expand Down
16 changes: 16 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
distribute:
rm dist/*
uv run python3 -m build
uv run twine upload dist/*

test:
for python in 3.9 3.10 3.11 3.12; do \
echo "Testing on python $$python"; \
uv run -p $$python pytest; \
done

sync:
uv sync

install-uv:
curl -LsSf https://astral.sh/uv/install.sh | sh
5 changes: 0 additions & 5 deletions distribute.sh

This file was deleted.

0 comments on commit 9ee9148

Please sign in to comment.