Skip to content

Commit 2a46458

Browse files
committed
Merge branch 'update-makefile-help-text'
* update-makefile-help-text: Makefile: Update help texts
2 parents c95d180 + 9950343 commit 2a46458

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

Makefile

+8-8
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ export $$(shell sed 's/=.*//' $(ENV_FILE_PATH))
2020

2121
build: dependency-dev ## Install all dependencies including development packages
2222

23-
test: validate-envvars validate dependency-dev lint-code unit-test ## Validating and linting CloudFormation templates and Lambda functions
23+
test: validate-envvars validate dependency-dev lint-code unit-test ## Validating and linting CloudFormation templates and Lambda functions (requires: ENV_FILE_PATH)
2424

2525
validate-envvars: # Test if required environment variables exist
2626
ifeq ($(GITHUB_REPOSITORY_URL),)
@@ -57,27 +57,27 @@ lint-code:
5757
unit-test:
5858
@./scripts/test
5959

60-
package: validate-envvars validate clean dependency package-sam ## Install all dependencies and package stuffs
60+
package: validate-envvars validate clean dependency package-sam ## Install all dependencies and package stuffs (requires: ENV_FILE_PATH)
6161

6262
package-sam:
6363
ifeq ($(S3_SAM_ARTIFACTS_BUCKET_NAME),)
6464
$(error missing the 'S3_SAM_ARTIFACTS_BUCKET_NAME' environment variable, or 'ENV_FILE_PATH' does not exist)
6565
endif
6666
@./scripts/package $(S3_SAM_ARTIFACTS_BUCKET_NAME) $(CODEBUILD_PROJECT_NAME)
6767

68-
deploy: package deploy-sam ## Deploy all CloudFormation templates and Lambda functions
68+
deploy: package deploy-sam ## Deploy github-codebuild-integration into your AWS account (requires: ENV_FILE_PATH)
6969

7070
deploy-sam:
7171
ifeq ($(S3_SAM_ARTIFACTS_BUCKET_NAME),)
7272
$(error missing the 'S3_SAM_ARTIFACTS_BUCKET_NAME' environment variable, or 'ENV_FILE_PATH' does not exist)
7373
endif
7474
@./scripts/deploy $(ENV_FILE_PATH)
7575

76-
clean: ## Remove local generated files and dependencies
77-
@./scripts/clean
78-
79-
destroy: ## Remove provisioned resources on AWS
76+
destroy: ## Remove provisioned resources from your AWS account (requires: ENV_FILE_PATH)
8077
@./scripts/destroy $(ENV_FILE_PATH)
8178

82-
help:
79+
clean: ## Remove local generated files and installed dependencies
80+
@./scripts/clean
81+
82+
help: ## Show this
8383
@grep -E '^[a-zA-Z_-]+:.*?## .*$$' $(MAKEFILE_LIST) | awk 'BEGIN {FS = ":.*?## "}; {printf "\033[36m%-10s\033[0m %s\n", $$1, $$2}'

0 commit comments

Comments
 (0)