publish target

This commit is contained in:
Michael Pilosov 2026-04-05 22:56:03 -06:00
parent ff29a3cd4e
commit f46f52ce3a

View File

@ -1,4 +1,4 @@
.PHONY: dev serve lint fmt help
.PHONY: dev serve lint fmt build publish help
# Development server with auto-reload
dev:
@ -17,6 +17,15 @@ fmt:
uvx ruff format src/chess_pressure/
uvx ruff check --fix src/chess_pressure/
# Build sdist + wheel
build:
rm -rf dist/
uv build
# Publish to PyPI
publish: build
uv publish
help:
@echo "chess-pressure"
@echo ""
@ -24,3 +33,5 @@ help:
@echo " make serve production server (:8888)"
@echo " make lint ruff format + check"
@echo " make fmt ruff format + auto-fix"
@echo " make build build sdist + wheel"
@echo " make publish build + publish to PyPI"