add linter into makefile

This commit is contained in:
Dzyanis Kuzmenka 2022-03-19 00:31:23 +03:00
parent ca863c259f
commit f7c0eddc8f

View File

@ -42,3 +42,9 @@ alltest: gotest e2e
clean:
rm -f ./bin/frpc
rm -f ./bin/frps
linter:
./bin/golangci-lint run ./... --timeout=5m
linter-install:
curl -sSfL https://raw.githubusercontent.com/golangci/golangci-lint/master/install.sh | sh -s