basic PEX tooling to build independent binaries
This commit is contained in:
parent
c08c5609ca
commit
c93f1997fc
3 changed files with 23 additions and 8 deletions
10
Makefile
10
Makefile
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue