diff --git a/Makefile b/Makefile index ae1a013e..63d02fcc 100644 --- a/Makefile +++ b/Makefile @@ -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