Files
QueueCube/web/Makefile

24 lines
438 B
Makefile

VERSION := $(shell git describe --always --dirty)
.PHONY: build
build:
npm install
npm run build --workspaces
.PHONY: dev
dev:
npm run dev
.PHONY: run
run:
npm run start
.PHONY: image
image:
docker build -t queuecube:$(VERSION)-$(shell uname -m) .
.PHONY: images
images:
docker buildx build --platform linux/arm/v7 -t queuecube:$(VERSION)-armv7l .
docker buildx build --platform linux/amd64 -t queuecube:$(VERSION)-amd64 .