From 27ae7759d9bb8a3c25914dbf5724a1453d0d0e58 Mon Sep 17 00:00:00 2001 From: Ryan D Date: Sat, 15 Jul 2017 23:43:44 -0700 Subject: [PATCH] Switch from gvt to dep (#17) --- Makefile | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/Makefile b/Makefile index 4497b5f..a710242 100644 --- a/Makefile +++ b/Makefile @@ -76,9 +76,12 @@ setup: clean .GOPATH/.ok echo "/.GOPATH" >> .gitignore; \ echo "/bin" >> .gitignore; \ fi - go get -u github.com/FiloSottile/gvt - - ./bin/gvt fetch golang.org/x/tools/cmd/goimports - - ./bin/gvt fetch github.com/wadey/gocovmerge + go get -u github.com/golang/dep/cmd/dep + - go get -u golang.org/x/tools/cmd/goimports + - go get -u github.com/wadey/gocovmerge + @test -f Gopkg.toml || \ + (cd $(CURDIR)/.GOPATH/src/$(IMPORT_PATH) && ./bin/dep init) + (cd $(CURDIR)/.GOPATH/src/$(IMPORT_PATH) && ./bin/dep ensure) VERSION := $(shell git describe --tags --always --dirty="-dev") DATE := $(shell date -u '+%Y-%m-%d-%H%M UTC')