3
0
Files
corteza/test.sh
Denis Arh 2a6336ca72 Add go vet <..> to test.sh
Took 44 minutes
2018-07-06 10:20:41 +02:00

10 lines
288 B
Bash
Executable File

#!/bin/bash
set -e
set -u
PKG=github.com/crusttech/crust
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`