From 2a6336ca72fc177058370361bf737980b4a09ee3 Mon Sep 17 00:00:00 2001 From: Denis Arh Date: Fri, 6 Jul 2018 10:20:41 +0200 Subject: [PATCH] Add go vet <..> to test.sh Took 44 minutes --- test.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/test.sh b/test.sh index 7812accf7..cc5c30f46 100755 --- a/test.sh +++ b/test.sh @@ -5,4 +5,5 @@ set -u PKG=github.com/crusttech/crust -go test `cd ${GOPATH}/src/; find ${PKG} -type f -name '*_test.go' -and -not -path '*vendor*'|xargs -n1 dirname|uniq` \ No newline at end of file +go vet `cd ${GOPATH}/src/; find ${PKG} -type f -name '*.go' -and -not -path '*vendor*'|xargs -n1 dirname|uniq` +go test `cd ${GOPATH}/src/; find ${PKG} -type f -name '*_test.go' -and -not -path '*vendor*'|xargs -n1 dirname|uniq`