Skip to content

Commit

Permalink
Add serverless-package target for local debugging
Browse files Browse the repository at this point in the history
  • Loading branch information
glin committed Jul 10, 2023
1 parent 05d4d38 commit 497b619
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,11 @@ rebuild-all: deps fetch-serverless-custom-file
serverless-deploy.%: deps fetch-serverless-custom-file
$(SLS_BINARY) deploy --stage $* --verbose

# Package the service only, for debugging.
# Requires deps and fetch-serverless-custom-file to be run first.
serverless-package:
$(SLS_BINARY) package --verbose

define GEN_TARGETS
docker-build-$(platform):
@cd builder && docker-compose build $(platform)
Expand Down

0 comments on commit 497b619

Please sign in to comment.