mirror of https://github.com/status-im/consul.git
Makes vendor pattern more generic.
This commit is contained in:
parent
2a950f3897
commit
9f2c965a63
|
@ -4,7 +4,7 @@ GOTOOLS = \
|
||||||
github.com/mitchellh/gox \
|
github.com/mitchellh/gox \
|
||||||
golang.org/x/tools/cmd/cover \
|
golang.org/x/tools/cmd/cover \
|
||||||
golang.org/x/tools/cmd/stringer
|
golang.org/x/tools/cmd/stringer
|
||||||
PACKAGES=$(shell go list ./... | grep -v '^github.com/hashicorp/consul/vendor/')
|
PACKAGES=$(shell go list ./... | grep -v '/vendor/')
|
||||||
VETARGS?=-asmdecl -atomic -bool -buildtags -copylocks -methods \
|
VETARGS?=-asmdecl -atomic -bool -buildtags -copylocks -methods \
|
||||||
-nilfunc -printf -rangeloops -shift -structtags -unsafeptr
|
-nilfunc -printf -rangeloops -shift -structtags -unsafeptr
|
||||||
BUILD_TAGS?=consul
|
BUILD_TAGS?=consul
|
||||||
|
|
Loading…
Reference in New Issue