-
Notifications
You must be signed in to change notification settings - Fork 3
Expand file tree
/
Copy pathMakefile
More file actions
19 lines (15 loc) · 753 Bytes
/
Makefile
File metadata and controls
19 lines (15 loc) · 753 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
default: help
.PHONY: terraform-check-tflint
terraform-check-tflint: ## Run 'terraform-check-tflint' workflow with https://github.com/nektos/act
act -j terraform-check-tflint
.PHONY: terraform-check-examples
terraform-check-examples: ## Run specific 'check' workflow with https://github.com/nektos/act
act -j terraform-check-fmt
act -j terraform-check-variables-tailscale-install-scripts
.PHONY: terraform-fmt
terraform-fmt: ## Run 'terraform-fmt' workflow with https://github.com/nektos/act
@terraform fmt -recursive
.PHONY: help
help: ## Display this information. Default target.
@echo "Valid targets:"
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | sort | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-25s\033[0m %s\n", $$1, $$2}'