Skip to content

Commit b61b98b

Browse files
committed
Switch from gvt to dep (#17)
1 parent aa86479 commit b61b98b

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

Makefile

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,11 @@ setup: clean .GOPATH/.ok
7676
echo "/.GOPATH" >> .gitignore; \
7777
echo "/bin" >> .gitignore; \
7878
fi
79-
go get -u github.com/FiloSottile/gvt
80-
- ./bin/gvt fetch golang.org/x/tools/cmd/goimports
81-
- ./bin/gvt fetch github.com/wadey/gocovmerge
79+
go get -u github.com/golang/dep/cmd/dep
80+
- go get -u golang.org/x/tools/cmd/goimports
81+
- go get -u github.com/wadey/gocovmerge
82+
@test -f Gopkg.toml || \
83+
(cd $(CURDIR)/.GOPATH/src/$(IMPORT_PATH) && ./bin/dep init)
8284

8385
VERSION := $(shell git describe --tags --always --dirty="-dev")
8486
DATE := $(shell date -u '+%Y-%m-%d-%H%M UTC')

0 commit comments

Comments
 (0)