publish target
This commit is contained in:
parent
ff29a3cd4e
commit
f46f52ce3a
13
Makefile
13
Makefile
@ -1,4 +1,4 @@
|
|||||||
.PHONY: dev serve lint fmt help
|
.PHONY: dev serve lint fmt build publish help
|
||||||
|
|
||||||
# Development server with auto-reload
|
# Development server with auto-reload
|
||||||
dev:
|
dev:
|
||||||
@ -17,6 +17,15 @@ fmt:
|
|||||||
uvx ruff format src/chess_pressure/
|
uvx ruff format src/chess_pressure/
|
||||||
uvx ruff check --fix 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:
|
help:
|
||||||
@echo "chess-pressure"
|
@echo "chess-pressure"
|
||||||
@echo ""
|
@echo ""
|
||||||
@ -24,3 +33,5 @@ help:
|
|||||||
@echo " make serve production server (:8888)"
|
@echo " make serve production server (:8888)"
|
||||||
@echo " make lint ruff format + check"
|
@echo " make lint ruff format + check"
|
||||||
@echo " make fmt ruff format + auto-fix"
|
@echo " make fmt ruff format + auto-fix"
|
||||||
|
@echo " make build build sdist + wheel"
|
||||||
|
@echo " make publish build + publish to PyPI"
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user