Change makefile to use variable for app name.

Make this more copypastable.
This commit is contained in:
Bill Thiede 2024-01-06 08:52:42 -08:00
parent a0b0689e01
commit 28d484117b

View File

@ -1,7 +1,8 @@
.PHONY: all
APP=letterbox
# Build in release mode and push to minio for serving.
all:
trunk build --release
mc mirror m/letterbox/ /tmp/letterbox-$(shell date +%s)
mc mirror --overwrite --remove dist/ m/letterbox/
mc mirror m/$(APP)/ /tmp/$(APP)-$(shell date +%s)
mc mirror --overwrite --remove dist/ m/$(APP)/