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.
This commit is contained in:
William Murphy 2018-06-05 18:40:28 -04:00 committed by Alex Goodman
parent 78f02465e2
commit acec670354

View file

@ -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