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
|
.PHONY: all
|
||||||
|
APP=letterbox
|
||||||
|
|
||||||
# Build in release mode and push to minio for serving.
|
# Build in release mode and push to minio for serving.
|
||||||
all:
|
all:
|
||||||
trunk build --release
|
trunk build --release
|
||||||
mc mirror m/letterbox/ /tmp/letterbox-$(shell date +%s)
|
mc mirror m/$(APP)/ /tmp/$(APP)-$(shell date +%s)
|
||||||
mc mirror --overwrite --remove dist/ m/letterbox/
|
mc mirror --overwrite --remove dist/ m/$(APP)/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user