make: Only build "godeps" binary once.

This commit is contained in:
Joachim Bauch 2021-01-21 14:23:09 +01:00
parent 043691d703
commit 865798f920
No known key found for this signature in database
GPG Key ID: 77C1D22D53E15F02
1 changed files with 3 additions and 1 deletions

View File

@ -46,7 +46,9 @@ endif
hook: hook:
[ ! -d "$(CURDIR)/.git/hooks" ] || ln -sf "$(CURDIR)/scripts/pre-commit.hook" "$(CURDIR)/.git/hooks/pre-commit" [ ! -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 GOPATH=$(GOPATH) $(GO) get github.com/rogpeppe/godeps
easyjson: dependencies easyjson: dependencies