Makefile: run go vet with -mod=vendor in order to disable downloading vendored deps

This commit is contained in:
Aliaksandr Valialkin 2019-05-29 01:38:13 +03:00
parent be97f764f5
commit 61bad1e07e

View file

@ -31,8 +31,8 @@ fmt:
GO111MODULE=on gofmt -l -w -s ./app GO111MODULE=on gofmt -l -w -s ./app
vet: vet:
GO111MODULE=on go vet ./lib/... GO111MODULE=on go vet -mod=vendor ./lib/...
GO111MODULE=on go vet ./app/... GO111MODULE=on go vet -mod=vendor ./app/...
lint: install-golint lint: install-golint
golint lib/... golint lib/...