2023-03-08 22:20:16 +01:00
|
|
|
VERSION ?= dev
|
|
|
|
GO ?= go
|
2023-03-08 23:25:46 +01:00
|
|
|
GOARCH ?= amd64
|
2023-03-08 22:20:16 +01:00
|
|
|
|
|
|
|
build: ./bin ui-build
|
2023-03-08 23:25:46 +01:00
|
|
|
GOOS=linux GOARCH=$(GOARCH) \
|
|
|
|
$(GO) build -o ./bin/broadcast-$(GOARCH) ./cmd/broadcast
|
2023-03-08 22:20:16 +01:00
|
|
|
|
|
|
|
./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
|