From 3e050bac273b83c013aae51acf4637d9822797d9 Mon Sep 17 00:00:00 2001 From: Sven Nierlein Date: Wed, 6 Mar 2024 11:27:09 +0100 Subject: [PATCH] fix package github.com/davecgh/go-spew/spew is not a main package --- Makefile | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 8ed1ad3..8da490f 100644 --- a/Makefile +++ b/Makefile @@ -20,12 +20,13 @@ all: build CMDS = $(shell cd ./cmd && ls -1) -tools: | versioncheck vendor - $(GO) mod download - set -e; for DEP in $(shell grep "_ " buildtools/tools.go | awk '{ print $$2 }'); do \ +tools: | versioncheck + set -e; for DEP in $(shell grep "_ " buildtools/tools.go | awk '{ print $$2 }' | grep -v go-spew); do \ ( cd buildtools && $(GO) install $$DEP@latest ) ; \ done - $(GO) mod tidy + set -e; for DEP in $(shell grep "_ " buildtools/tools.go | awk '{ print $$2 }' | grep go-spew); do \ + ( cd buildtools && $(GO) install $$DEP ) ; \ + done ( cd buildtools && $(GO) mod tidy ) updatedeps: versioncheck