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 a3fd599 commit 7626f1fCopy full SHA for 7626f1f
makefile
@@ -0,0 +1,31 @@
1
+PKGS = ./auth ./core ./core/connstring ./core/desc ./core/msg ./ops
2
+LINTARGS = -min_confidence="0.3"
3
+TEST_TIMEOUT = 20
4
+
5
+default: test-cover lint vet
6
7
+doc:
8
+ godoc -http=:6060 -index
9
10
+lint:
11
+ golint $(LINTARGS) ./auth
12
+ golint $(LINTARGS) ./core
13
+ golint $(LINTARGS) ./core/connstring
14
+ golint $(LINTARGS) ./core/desc
15
+ golint $(LINTARGS) ./core/msg
16
+ golint $(LINTARGS) ./ops
17
18
+test:
19
+ go test -timeout $(TEST_TIMEOUT)s $(PKGS)
20
21
+test-cover:
22
+ go test -cover -timeout $(TEST_TIMEOUT)s $(PKGS)
23
24
+test-race:
25
+ go test -race -timeout $(TEST_TIMEOUT)s $(PKGS)
26
27
+test-short:
28
+ go test -short -timeout $(TEST_TIMEOUT)s $(PKGS)
29
30
+vet:
31
+ go tool vet -composites=false $(PKGS)
0 commit comments