From 865798f920d4c4aa325228ede77b09a25870790d Mon Sep 17 00:00:00 2001 From: Joachim Bauch Date: Thu, 21 Jan 2021 14:23:09 +0100 Subject: [PATCH] make: Only build "godeps" binary once. --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index c5cd5c5..d5e1958 100644 --- a/Makefile +++ b/Makefile @@ -46,7 +46,9 @@ endif hook: [ ! -d "$(CURDIR)/.git/hooks" ] || ln -sf "$(CURDIR)/scripts/pre-commit.hook" "$(CURDIR)/.git/hooks/pre-commit" -godeps: +godeps: $(VENDORBIN)/godeps + +$(VENDORBIN)/godeps: GOPATH=$(GOPATH) $(GO) get github.com/rogpeppe/godeps easyjson: dependencies