forked from kumahq/kuma
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
34 lines (31 loc) · 1.02 KB
/
Makefile
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
27
28
29
30
31
32
33
34
SHELL := /usr/bin/env bash
.PHONY: help
help: ## Display this help screen
@# Display top-level targets since they are the ones most developes will need.
@grep -h -E '^[a-zA-Z0-9_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort -k1 | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
@# Now show hierarchical targets in separate sections.
@grep -h -E '^[a-zA-Z0-9_-]+/[a-zA-Z0-9/_-]+:.*?## .*$$' $(MAKEFILE_LIST) | \
awk '{print $$1}' | \
awk -F/ '{print $$1}' | \
sort -u | \
while read section ; do \
echo; \
grep -h -E "^$$section/[^:]+:.*?## .*$$" $(MAKEFILE_LIST) | sort -k1 | \
awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}' ; \
done
include mk/dev.mk
include mk/api.mk
include mk/build.mk
include mk/check.mk
include mk/test.mk
include mk/generate.mk
include mk/docker.mk
include mk/kind.mk
include mk/k3d.mk
include mk/e2e.new.mk
include mk/docs.mk
include mk/helm.mk
include mk/ebpf.mk
include mk/distribution.mk
include mk/run.mk
include mk/test-container-structure.mk