Files
QueueCube/Makefile

24 lines
438 B
Makefile
Raw Normal View History

2025-02-22 01:09:46 -08:00
VERSION := $(shell git describe --always --dirty)
2025-02-15 00:39:51 -08:00
.PHONY: build
build:
npm install
2025-02-23 11:45:40 -08:00
npm run build --workspaces
.PHONY: dev
dev:
npm run dev
2025-02-15 00:39:51 -08:00
.PHONY: run
run:
2025-02-22 01:09:46 -08:00
npm run start
2025-02-23 11:45:40 -08:00
.PHONY: image
image:
docker build -t queuecube:$(VERSION)-$(shell uname -m) .
2025-02-22 01:09:46 -08:00
.PHONY: images
images:
2025-02-23 11:45:40 -08:00
docker buildx build --platform linux/arm/v7 -t queuecube:$(VERSION)-armv7l .
docker buildx build --platform linux/amd64 -t queuecube:$(VERSION)-amd64 .