mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2025-03-11 15:34:56 +00:00
Makefile: run go vet
with -mod=vendor
in order to disable downloading vendored deps
This commit is contained in:
parent
a4ec139a4a
commit
a1289d7343
1 changed files with 2 additions and 2 deletions
4
Makefile
4
Makefile
|
@ -37,8 +37,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/...
|
||||||
|
|
Loading…
Reference in a new issue