Skip to content

Commit

Permalink
fix package github.com/davecgh/go-spew/spew is not a main package
Browse files Browse the repository at this point in the history
  • Loading branch information
sni committed Mar 6, 2024
1 parent a2e606b commit 3e050ba
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 3e050ba

Please sign in to comment.