-
Notifications
You must be signed in to change notification settings - Fork 5
/
GNUmakefile
25 lines (19 loc) · 661 Bytes
/
GNUmakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
.PHONY: help
help:
@echo "-------------------------------------------------------------------"
@echo "Lacework terraform-aws-ssm-agent Makefile helper:"
@echo ""
@grep -Fh "##" $(MAKEFILE_LIST) | grep -v grep | sed -e 's/\\$$//' | sed -E 's/^([^:]*):.*##(.*)/ \1 -\2/'
@echo "-------------------------------------------------------------------"
default: ci
AWS_REGION?=us-west-2
export AWS_REGION
.PHONY: ci
ci: ## *CI ONLY* Runs tests on CI pipeline
scripts/ci_tests.sh
.PHONY: release
release: ci ## *CI ONLY* Prepares a release of the Terraform module
scripts/release.sh prepare
.PHONY: terraform-docs
terraform-docs:
scripts/terraform-docs.sh