basic PEX tooling to build independent binaries

This commit is contained in:
Nick Pegg 2024-08-05 19:29:40 -07:00
parent c08c5609ca
commit c93f1997fc
3 changed files with 23 additions and 8 deletions

View file

@ -33,11 +33,11 @@ test-fast:
test-watch:
find . -name '*py' -or -name '*html' -or -name poetry.lock | entr -r -c make test-fast
run:
podman-compose up
build:
poetry build
docker:
podman build -t nickpegg/photojawn . --build-arg GIT_COMMIT=$(shell git rev-parse --short HEAD)
clean:
podman-compose down --rmi all
pex:
poetry run pex --project . -o dist/photojawn.pex --scie eager -c photojawn