broadcast/Makefile

20 lines
260 B
Makefile
Raw Normal View History

VERSION ?= dev
GO ?= go
2023-03-08 23:25:46 +01:00
GOARCH ?= amd64
build: ./bin ui-build
2023-03-08 23:25:46 +01:00
GOOS=linux GOARCH=$(GOARCH) \
$(GO) build -o ./bin/broadcast-$(GOARCH) ./cmd/broadcast
./bin:
mkdir -p bin
ui-%:
cd ui && make $*
2023-03-08 22:22:07 +01:00
dev:
docker compose up
dev-build:
docker compose build