From 713ef23727af024a8219530eb6fd4f590ddcb5f2 Mon Sep 17 00:00:00 2001 From: E Date: Mon, 13 May 2024 17:02:32 +0100 Subject: [PATCH] Fix Makefile to use local aws lambda bin --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 63f7d35..615adc4 100644 --- a/Makefile +++ b/Makefile @@ -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 .