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 ./...
