mirror of
https://github.com/VictoriaMetrics/VictoriaMetrics.git
synced 2024-11-21 14:44:00 +00:00
Makefile: add make golangci-lint
rule for running golangci-lint run
; updates https://github.com/VictoriaMetrics/VictoriaMetrics/issues/69
This commit is contained in:
parent
4b2523fb40
commit
45fc8cb72f
1 changed files with 7 additions and 0 deletions
7
Makefile
7
Makefile
|
@ -74,3 +74,10 @@ quicktemplate-gen: install-qtc
|
||||||
|
|
||||||
install-qtc:
|
install-qtc:
|
||||||
which qtc || GO111MODULE=off go get -u github.com/valyala/quicktemplate/qtc
|
which qtc || GO111MODULE=off go get -u github.com/valyala/quicktemplate/qtc
|
||||||
|
|
||||||
|
|
||||||
|
golangci-lint: install-golangci-lint
|
||||||
|
golangci-lint run
|
||||||
|
|
||||||
|
install-golangci-lint:
|
||||||
|
which golangci-lint || GO111MODULE=off go get -u github.com/golangci/golangci-lint/cmd/golangci-lint
|
||||||
|
|
Loading…
Reference in a new issue