...
1CODEGEN_PKG ?= ./vendor/k8s.io/code-generator
2
3all: test verify-deepcopy
4
5update-deepcopy: ## Update the deepcopy generated code
6 ./tools/update-deepcopy.sh
7
8verify-deepcopy: ## Verify deepcopy generated code
9 VERIFY=--verify-only ./tools/update-deepcopy.sh
10
11test: ## Run unit tests
12 go test -count=1 -short ./conditions/...
13 go test -count=1 -short ./objectreferences/...
14
15help: ## Show this help screen
16 @echo 'Usage: make <OPTIONS> ... <TARGETS>'
17 @echo ''
18 @echo 'Available targets are:'
19 @echo ''
20 @grep -E '^[ a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | \
21 awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-20s\033[0m %s\n", $$1, $$2}'
22 @echo ''
23
24.PHONY: update-deepcopy verify-deepcopy
View as plain text