Skip to content

Commit 1b54a56

Browse files
joe4devtiurin
andcommitted
Fix review comments from Misha
Co-Authored-By: Misha Tiurin <[email protected]>
1 parent 2f70aab commit 1b54a56

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lambda-debugging-sam-java/Makefile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,10 @@ usage: ## Show this help
2727
install: ## Install CLI dependencies
2828
@which aws || pip install awscli
2929

30-
build: build-docker. ## Build the Lambda function (default Docker)
30+
build: build-docker ## Build the Lambda function (default Docker)
3131

3232
build-docker: ## Build the Lambda function zip in Docker
33-
docker run --platform $(DOCKER_PLATFORM) --rm -v "$$(pwd)/HelloWorldFunction:/app" $(IMAGE) bash -c "cd /app && ./gradlew test buildZip"
33+
docker run --platform $(DOCKER_PLATFORM) --rm -v "$$(pwd)/HelloWorldFunction:/app" $(IMAGE) bash -c "cd /app && ./gradlew test buildZip && mv build/distributions/app.zip build/distributions/HelloWorldFunction.zip"
3434

3535
build-local: ## Build the Lambda function zip locally (JDK required)
3636
cd HelloWorldFunction && ./gradlew test buildZip
@@ -41,7 +41,7 @@ build-sam: ## Build the Lambda function via AWS SAM
4141
wait: ## Wait until the Lambda function becomes ready to invoke
4242
$(AWS) lambda wait function-active-v2 --function-name $(FUNCTION_NAME)
4343

44-
deploy: deploy-aws. ## Deploy the Lambda function (default AWS CLI)
44+
deploy: deploy-aws ## Deploy the Lambda function (default AWS CLI)
4545

4646
deploy-aws: ## Deploy the Lambda function via AWS CLI
4747
$(AWS) lambda create-function \

0 commit comments

Comments
 (0)