publishing

This commit is contained in:
Michael Pilosov 2026-05-16 19:14:46 -06:00
parent 394a6911bb
commit 3f24ce2f80
2 changed files with 8 additions and 1 deletions

1
.gitignore vendored
View File

@ -6,3 +6,4 @@ output.png
output*.png output*.png
mask*.png mask*.png
*.jpg *.jpg
.env

View File

@ -11,7 +11,7 @@ BLUR ?= 0
.DEFAULT_GOAL := help .DEFAULT_GOAL := help
.PHONY: help build run up stop down logs log ps test test-mask dev sync shell clean fmt .PHONY: help build run up stop down logs log ps test test-mask dev sync shell clean fmt testpub
help: ## Show this help help: ## Show this help
@grep -E '^[a-zA-Z_-]+:.*?## ' $(MAKEFILE_LIST) \ @grep -E '^[a-zA-Z_-]+:.*?## ' $(MAKEFILE_LIST) \
@ -56,3 +56,9 @@ fmt: ## Format code with ruff
clean: ## Stop the service and remove build artifacts clean: ## Stop the service and remove build artifacts
-$(COMPOSE) down -$(COMPOSE) down
rm -f $(OUTPUT) mask.png rm -f $(OUTPUT) mask.png
testpub: ## Publish dist/ to TestPyPI (UV_PUBLISH_TOKEN from .env)
uv build
set -a && . ./.env && set +a && \
uv publish --publish-url https://test.pypi.org/legacy/ -t "$$UV_PUBLISH_TOKEN" --dry-run