make run — starts web UI on :8080 make run LISTEN=:9090 — custom port make run AUDIT_PATH=/tmp/bee.json — with audit data make build / make test Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
19 lines
251 B
Makefile
19 lines
251 B
Makefile
LISTEN ?= :8080
|
|
AUDIT_PATH ?=
|
|
|
|
RUN_ARGS := web --listen $(LISTEN)
|
|
ifneq ($(AUDIT_PATH),)
|
|
RUN_ARGS += --audit-path $(AUDIT_PATH)
|
|
endif
|
|
|
|
.PHONY: run build test
|
|
|
|
run:
|
|
go run ./cmd/bee $(RUN_ARGS)
|
|
|
|
build:
|
|
go build -o bee ./cmd/bee
|
|
|
|
test:
|
|
go test ./...
|