projects
/
brevno-suite
/
hugo
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
27f9e62
)
Add go test -race to make check
author
Bjørn Erik Pedersen
<bjorn.erik.pedersen@gmail.com>
Thu, 7 Apr 2016 11:36:48 +0000
(13:36 +0200)
committer
Bjørn Erik Pedersen
<bjorn.erik.pedersen@gmail.com>
Thu, 7 Apr 2016 11:36:48 +0000
(13:36 +0200)
Makefile
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index f4dfe0dadf587fb7e4731e5cf11c0dad2f505d2e..6dcde3c03dab3c20f9f07a7e70ba359aa5297341 100644
(file)
--- a/
Makefile
+++ b/
Makefile
@@
-35,7
+35,7
@@
docker:
docker rm hugo-build
-check: fmt vet test
+check: fmt vet test
test-race
cyclo:
@for d in $(DIRS) ; do \
@@
-59,6
+59,9
@@
lint:
test:
go test ./...
+test-race:
+ go test -race ./...
+
vet:
@if [ "`go vet ./... | tee /dev/stderr`" ]; then \
echo "^ go vet errors!" && echo && exit 1; \