add linter into makefile
This commit is contained in:
parent
ca863c259f
commit
f7c0eddc8f
6
Makefile
6
Makefile
@ -42,3 +42,9 @@ alltest: gotest e2e
|
|||||||
clean:
|
clean:
|
||||||
rm -f ./bin/frpc
|
rm -f ./bin/frpc
|
||||||
rm -f ./bin/frps
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user