diff --git a/audit/Makefile b/audit/Makefile new file mode 100644 index 0000000..33038eb --- /dev/null +++ b/audit/Makefile @@ -0,0 +1,18 @@ +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 ./...