-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathMakefile
More file actions
26 lines (20 loc) · 708 Bytes
/
Copy pathMakefile
File metadata and controls
26 lines (20 loc) · 708 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
# Vornik Community Edition — injected at export time (the upstream Makefile
# carries operator/Enterprise build + deploy ops that don't ship publicly).
.PHONY: build test vet fmt lint docs-gen
build:
go build ./...
test:
go test ./...
vet:
go vet ./...
fmt:
gofmt -w .
# lint: formatting + vet. The artifact-purity gates run via `go test`
# (internal/architecture) and in CI (.github/workflows/ci.yaml).
lint: vet
@unformatted="$$(gofmt -l .)"; \
if [ -n "$$unformatted" ]; then echo "gofmt needed:"; echo "$$unformatted"; exit 1; fi
# docs-gen: regenerate the generated customer-docs pages (CLI/config reference +
# the CE/EE editions matrix) from source.
docs-gen:
go run ./cmd/docs-gen all