20 lines
260 B
Makefile
20 lines
260 B
Makefile
VERSION ?= dev
|
|
GO ?= go
|
|
GOARCH ?= amd64
|
|
|
|
build: ./bin ui-build
|
|
GOOS=linux GOARCH=$(GOARCH) \
|
|
$(GO) build -o ./bin/broadcast-$(GOARCH) ./cmd/broadcast
|
|
|
|
./bin:
|
|
mkdir -p bin
|
|
|
|
ui-%:
|
|
cd ui && make $*
|
|
|
|
dev:
|
|
docker compose up
|
|
|
|
dev-build:
|
|
docker compose build
|