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
3838d224d5
commit
dec2bdf89f
1 changed files with 7 additions and 0 deletions
7
Makefile
7
Makefile
|
@ -78,3 +78,10 @@ quicktemplate-gen: install-qtc
|
|||
|
||||
install-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