mirror of
https://github.com/kyverno/policy-reporter.git
synced 2024-12-15 17:50:58 +00:00
17 lines
238 B
Makefile
17 lines
238 B
Makefile
GO ?= go
|
|
|
|
BUILD ?= build
|
|
|
|
all: build
|
|
|
|
.PHONY: clean
|
|
clean:
|
|
rm -rf $(BUILD)
|
|
|
|
.PHONY: prepare
|
|
prepare:
|
|
mkdir -p $(BUILD)
|
|
|
|
.PHONY: build
|
|
build: prepare
|
|
CGO_ENABLED=0 $(GO) build -v -ldflags="-s -w" $(GOFLAGS) -o $(BUILD)/policyreporter .
|