forked from openshift/ocm-agent-operator
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Makefile
29 lines (23 loc) · 898 Bytes
/
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
FIPS_ENABLED=true
include boilerplate/generated-includes.mk
OPERATOR_NAME=ocm-agent-operator
.PHONY: boilerplate-update
boilerplate-update: ## Make boilerplate update itself
@boilerplate/update
# Run against the configured Kubernetes cluster in ~/.kube/config
.PHONY: run
run:
OPERATOR_NAMESPACE="openshift-ocm-agent-operator" go run ./main.go
.PHONY: run-verbose
run-verbose:
OPERATOR_NAMESPACE="openshift-ocm-agent-operator" go run ./main.go --zap-log-level=5
.PHONY: tools
tools: ## Install local go tools for OAO
cat tools.go | grep _ | awk -F'"' '{print $$2}' | xargs -tI % go install %
.PHONY: help
help: ## Show this help screen.
@echo 'Usage: make <OPTIONS> ... <TARGETS>'
@echo ''
@echo 'Available targets are:'
@echo ''
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | sed 's/##//g' | awk 'BEGIN {FS = ":"}; {printf "\033[36m%-30s\033[0m %s\n", $$2, $$3}'