From 3be5227c2234b11ae65a14ecfc4d9119cb218ef4 Mon Sep 17 00:00:00 2001 From: Kailash Nadh Date: Tue, 29 Jun 2021 22:23:52 +0530 Subject: [PATCH] Account for all *.go files in the repo in the Makefile build target --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 12f52977b..dffc42fe1 100644 --- a/Makefile +++ b/Makefile @@ -34,7 +34,7 @@ $(FRONTEND_YARN_MODULES): frontend/package.json frontend/yarn.lock touch --no-create $(FRONTEND_YARN_MODULES) # Build the backend to ./listmonk. -$(BIN): $(shell find cmd -type f -name "*.go") +$(BIN): $(shell find . -type f -name "*.go") CGO_ENABLED=0 go build -o ${BIN} -ldflags="-s -w -X 'main.buildString=${BUILDSTR}' -X 'main.versionString=${VERSION}'" cmd/*.go # Run the backend.