Skip to content

Commit

Permalink
Fix Makefile to use local aws lambda bin
Browse files Browse the repository at this point in the history
  • Loading branch information
aurora-dot committed May 13, 2024
1 parent 50cd6af commit 713ef23
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -16,10 +16,10 @@ build:
GOARCH=amd64 GOOS=linux go build -ldflags="-s -w" -o bin/scraper scraper/main.go

debug:
env GOARCH=amd64 GOOS=linux go build -v -gcflags='all=-N -l' -ldflags="-s -w" -o bin/scraper scraper/main.go
env GOARCH=amd64 GOOS=linux go build -v -gcflags='all=-N -l' -ldflags="-s -w" -o bin/scraperDebug scraper/main.go

runDebug: debug
~/.aws-lambda-rie/aws-lambda-rie ./bin/scraper
./.aws-lambda-rie/aws-lambda-rie ./bin/scraperDebug

buildDocker:
docker build -t watcher-local-build .
Expand Down

0 comments on commit 713ef23

Please sign in to comment.