Skip to content

Commit 27ae775

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

1 file changed

Lines changed: 6 additions & 3 deletions

File tree

Makefile

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,12 @@ 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)
84+
(cd $(CURDIR)/.GOPATH/src/$(IMPORT_PATH) && ./bin/dep ensure)
8285

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

0 commit comments

Comments
 (0)