File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
lambda-debugging-sam-java Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -27,10 +27,10 @@ usage: ## Show this help
2727install : # # 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
3232build-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
3535build-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
4141wait : # # 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
4646deploy-aws : # # Deploy the Lambda function via AWS CLI
4747 $(AWS ) lambda create-function \
You can’t perform that action at this time.
0 commit comments