diff options
author | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2016-04-07 13:36:48 +0200 |
---|---|---|
committer | Bjørn Erik Pedersen <bjorn.erik.pedersen@gmail.com> | 2016-04-07 13:36:48 +0200 |
commit | fd5d5735662f916c8cbd8e33e301feb8cce81f63 (patch) | |
tree | ae1b34966f6511bc4c32cd1b4113bf94305f9a55 /Makefile | |
parent | 27f9e62bb3edb30ede2ea2758b476a2bfda0273e (diff) |
Add go test -race to make check
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -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; \ |