-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
38 lines (29 loc) · 907 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
30
31
32
33
34
35
36
37
38
# Copyright (c) 2024 Six After, Inc.
#
# This source code is licensed under the Apache 2.0 License found in the
# LICENSE file in the root directory of this source tree.
# -------------------------------------
# Configuration
# -------------------------------------
SHELL := /bin/bash
.DEFAULT: ;: do nothing
.PHONY: all
all: lint test ## Run all the tests and linters
.PHONY: deps
deps: ## Get the dependencies and vendor
@scripts/deps.sh
.PHONY: lint
lint: ## Lint the files
@scripts/lint.sh
.PHONY: login
login: ## Login to the Helm registry (ghcr.io)
@scripts/login.sh
.PHONE: score
score: ## Score the files
@scripts/score.sh
.PHONY: help
help: ## Display this help screen
@grep -h -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-30s\033[0m %s\n", $$1, $$2}'
# %: - rule which match any task name; @: - empty recipe = do nothing
%:
@: