Change makefile to use variable for app name.
Make this more copypastable.
This commit is contained in:
parent
a0b0689e01
commit
28d484117b
@ -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)/
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user