Use validate-vet script from docker

It tests only changed files from commit.
We can't expect vet fixes from all projects from vendor directory.

Signed-off-by: Alexander Morozov <lk4d4@docker.com>
This commit is contained in:
Alexander Morozov 2015-06-16 09:44:57 -07:00
parent 73eab50ed6
commit 6585cf0147
1 changed files with 1 additions and 1 deletions

View File

@ -9,7 +9,7 @@ validate() {
bash /go/src/github.com/docker/docker/hack/make/validate-dco bash /go/src/github.com/docker/docker/hack/make/validate-dco
bash /go/src/github.com/docker/docker/hack/make/validate-gofmt bash /go/src/github.com/docker/docker/hack/make/validate-gofmt
go get golang.org/x/tools/cmd/vet go get golang.org/x/tools/cmd/vet
go vet github.com/docker/libcontainer/... bash /go/src/github.com/docker/docker/hack/make/validate-vet
} }
# run validations # run validations