Skip to content

Commit

Permalink
Makefile fixes (#19)
Browse files Browse the repository at this point in the history
Signed-off-by: Stavros Foteinopoulos <[email protected]>
  • Loading branch information
stafot authored Oct 27, 2023
1 parent 6209e30 commit db763c4
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions deckhand/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,13 @@ build:

fetch-bootstrap:
@echo "Fetching custom Go runtime bootstrap..."
@curl -LO https://github.com/aws/aws-lambda-go/releases/download/v1.13.3/aws-lambda-go
@chmod +x aws-lambda-go
@LATEST_RELEASE=$(shell curl -s https://api.github.com/repos/aws/aws-lambda-go/releases/latest | jq -r .tag_name) && \
curl -Lo bootstrap https://github.com/aws/aws-lambda-go/releases/download/$$LATEST_RELEASE/bootstrap && \
chmod +x bootstrap

pack:
@echo "Packing binary and bootstrap..."
@zip $(PACKAGE).zip $(HANDLER) aws-lambda-go
@zip $(PACKAGE).zip $(HANDLER) bootstrap

clean:
@echo "Cleaning up..."
Expand Down

0 comments on commit db763c4

Please sign in to comment.