File tree Expand file tree Collapse file tree 4 files changed +79
-4
lines changed
Expand file tree Collapse file tree 4 files changed +79
-4
lines changed Original file line number Diff line number Diff line change 1717* .gob
1818* .txt
1919* .log
20+
21+ # Dependencies
22+ vendor
Original file line number Diff line number Diff line change 1+
2+ # Gopkg.toml example
3+ #
4+ # Refer to https://github.com/golang/dep/blob/master/docs/Gopkg.toml.md
5+ # for detailed Gopkg.toml documentation.
6+ #
7+ # required = ["github.com/user/thing/cmd/thing"]
8+ # ignored = ["github.com/user/project/pkgX", "bitbucket.org/user/project/pkgA/pkgY"]
9+ #
10+ # [[constraint]]
11+ # name = "github.com/user/project"
12+ # version = "1.0.0"
13+ #
14+ # [[constraint]]
15+ # name = "github.com/user/project2"
16+ # branch = "dev"
17+ # source = "github.com/myfork/project2"
18+ #
19+ # [[override]]
20+ # name = "github.com/x/y"
21+ # version = "2.4.0"
22+
23+
24+ [[constraint ]]
25+ branch = " master"
26+ name = " github.com/DataDog/mmh3"
27+
28+ [[constraint ]]
29+ branch = " master"
30+ name = " github.com/dgryski/go-farm"
31+
32+ [[constraint ]]
33+ name = " github.com/stretchr/testify"
34+ version = " 1.1.4"
Original file line number Diff line number Diff line change @@ -2,14 +2,13 @@ ROOT := $(CURDIR)
22GOPKGS = \
33 golang.org/x/tools/cmd/cover \
44 github.com/golang/lint/golint \
5- github.com/tools/godep
5+ github.com/golang/dep/cmd/dep
66
77default : test
88
99deps :
1010 @go get -u -v $(GOPKGS )
11- @go get -u -v -t ./...
12- @if [ ` which godep` ] && [ -f ./Godeps/Godeps.json ]; then godep restore; fi
11+ @dep ensure
1312
1413lint :
1514 @echo " [Lint] running golint"
@@ -23,6 +22,6 @@ ci: deps vet lint test
2322
2423test :
2524 @echo " [Test] running tests"
26- @if [ " $CI " ]; then goveralls -service=travis-ci; else go test -v -cover; fi
25+ @if [ " $( CI ) " ]; then goveralls -service=travis-ci; else go test -v -cover; fi
2726
2827.PHONY : default golint test vet deps
You can’t perform that action at this time.
0 commit comments