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 0d25818 commit 50dec78Copy full SHA for 50dec78
Makefile
@@ -1,24 +1,28 @@
1
-.PHONY: default build test install-vet vet upgrade-deps
2
-
+.PHONY: default
3
default: build
4
+.PHONY: build
5
build:
6
go build ./...
7
8
+.PHONY: test
9
test:
10
go test -cover ./...
11
12
+.PHONY: install-vet
13
install-vet:
14
go install github.com/nishanths/exhaustive/cmd/exhaustive@latest
15
go install github.com/gordonklaus/ineffassign@latest
16
go install github.com/kisielk/errcheck@latest
17
18
+.PHONY: vet
19
vet:
20
go vet ./...
21
exhaustive ./...
22
ineffassign ./...
23
errcheck ./...
24
25
+.PHONY: upgrade-deps
26
upgrade-deps:
27
go get golang.org/x/tools
28
go mod tidy
0 commit comments