[nit] simplify testconvention
@@ -30,7 +30,7 @@ lint: devel-deps
testconvention:
prove -r t/
- test `go generate ./... && git diff | wc -l` = 0 || (echo 'please `go generate ./...` and commit them' && exit 1)
+ @go generate ./... && git diff --exit-code || (echo 'please `go generate ./...` and commit them' && exit 1)
cover: devel-deps
gotestcover -v -short -covermode=count -coverprofile=.profile.cov -parallelpackages=4 ./...
