We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 625998f commit 9646a25Copy full SHA for 9646a25
Makefile
@@ -0,0 +1,27 @@
1
+.POSIX:
2
+.SUFFIXES:
3
+
4
+all: test lint
5
6
+test:
7
+ go test -race -shuffle=on -cover ./...
8
9
+test/cover:
10
+ go test -race -shuffle=on -coverprofile=coverage.out ./...
11
+ go tool cover -html=coverage.out
12
13
+lint:
14
+ golangci-lint run
15
16
+tidy:
17
+ go mod tidy
18
19
+generate:
20
+ go generate ./...
21
22
+pre-commit: .git/hooks/pre-commit test lint tidy generate
23
+ git diff --exit-code
24
25
+.git/hooks/pre-commit:
26
+ echo "make pre-commit" > .git/hooks/pre-commit
27
+ chmod +x .git/hooks/pre-commit
0 commit comments