-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
28 lines (19 loc) · 729 Bytes
/
Makefile
File metadata and controls
28 lines (19 loc) · 729 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
27
28
# check here for makefile inspiration:
# https://github.com/argoproj/argo-cd/blob/master/Makefile
CURRENT_DIR=$(shell pwd)
BIN_LOCATION=${HOME}/go/bin
PATH:=$(PATH):$(PWD)/hack
.PHONY: install-coco
install-coco: ## install the coco binary for the current architecture (result is stored in ./dist/coco)
./hack/install_coco.sh
.PHONY: cleanup
cleanup: ## remove temporary folders (dist/)
rm -rf dist
rm -rf tmp
mkdir -p tmp
.PHONY: reconcile-reset
reconcile-reset: ## resets the repository changes for a new reconciliation example
./hack/reconcile-reset.sh
.PHONY: help
help:
@grep -E '^[%a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'