From acec6703548bbdec584ad3a1f6937284bdf8ceff Mon Sep 17 00:00:00 2001 From: William Murphy Date: Tue, 5 Jun 2018 18:40:28 -0400 Subject: [PATCH] Use full path on dep test (#6) Previously, dep was being reinstalled every time because the check for it wouldn't find it on $PATH. --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4eeab1a..83b02ea 100644 --- a/Makefile +++ b/Makefile @@ -12,7 +12,7 @@ install: deps go install ./... deps: - command -v dep >/dev/null || go get -u github.com/golang/dep/cmd/dep + command -v $(GOPATH)/bin/dep >/dev/null || go get -u github.com/golang/dep/cmd/dep $(GOPATH)/bin/dep ensure test: build