misc: small fix or general refactoring i did not bother commenting

This commit is contained in:
evilsocket 2018-04-26 13:01:57 +02:00
parent 43a805870a
commit 889ef0cbe0
No known key found for this signature in database
GPG key ID: 1564D7F30393A456

View file

@ -31,8 +31,9 @@ test: deps
go fmt ./$$pkg ; \
go vet ./$$pkg ; \
megacheck ./$$pkg ; \
touch $$pkg.profile ; \
go test -race ./$$pkg -coverprofile=$$pkg.profile -covermode=atomic; \
tail -n +2 $$pkg.profile >> coverage.profile || true && rm -rf $$pkg.profile ; \
tail -n +2 $$pkg.profile >> coverage.profile && rm -rf $$pkg.profile ; \
done
html_coverage: test