You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: Makefile
+42-8
Original file line number
Diff line number
Diff line change
@@ -17,29 +17,63 @@
17
17
#
18
18
# Makefile with some common workflow for dev, build and test
19
19
#
20
+
exportGOPROXY?=https://proxy.golang.org/
21
+
CONTROLLER_GEN_BIN_PATH := $(shell which controller-gen)
20
22
21
-
all: build test
23
+
##@ General
22
24
23
-
.PHONY: build test
25
+
# The help will print out all targets with their descriptions organized bellow their categories. The categories are represented by `##@` and the target descriptions by `##`.
26
+
# The awk commands is responsable to read the entire set of makefiles included in this invocation, looking for lines of the file as xyz: ## something, and then pretty-format the target and help. Then, if there's a line with ##@ something, that gets pretty-printed as a category.
27
+
# More info over the usage of ANSI control characters for terminal formatting: https://en.wikipedia.org/wiki/ANSI_escape_code#SGR_parameters
28
+
# More info over awk command: http://linuxcommand.org/lc3_adv_awk.php
0 commit comments