Gitiles
Code Review
Sign In
gerrit.opencord.org
/
voltha-lib-go
/
2c1c482c1b16f06ab700d087f800e416c5185c91
/
.
/
vendor
/
github.com
/
rcrowley
/
go-metrics
/
validate.sh
blob: c4ae91e642d67f338c8bd850595a747178bd5ed2 [
file
] [
log
] [
blame
]
#!/bin/bash
set
-
e
# check there are no formatting issues
GOFMT_LINES
=
`gofmt -l . | wc -l | xargs`
test $GOFMT_LINES
-
eq
0
||
echo
"gofmt needs to be run, ${GOFMT_LINES} files have issues"
# run the tests for the root package
go test
-
race
.