From 18a8feea9efd500b9b4ef7731a00d5cf6a1f0cca Mon Sep 17 00:00:00 2001 From: Henrik Hautakoski Date: Thu, 25 Jul 2024 19:36:51 +0200 Subject: [PATCH] make: no need to use find, can specify the directory where the go files are --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 73b8b87..e0a62f0 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ build/$(PROGRAM) : tools : build/thalos-tools build/thalos-tools : - $(GO) build $(GOBUILDFLAGS) -o $@ $(shell find cmd/tools -type f -name *.go) + $(GO) build $(GOBUILDFLAGS) -o $@ ./cmd/tools/ docker-image: docker image build --build-arg VERSION=$(PROGRAM_VERSION) -t $(DOCKER_IMAGE_REPO):$(DOCKER_IMAGE_TAG) docker