1
0
mirror of https://github.com/rancher/os.git synced 2025-08-31 06:11:12 +00:00
Files
os/vendor/github.com/rcrowley/go-metrics/validate.sh
Darren Shepherd 03db5d1058 Update vendor/
2016-06-06 08:08:00 -07:00

11 lines
239 B
Bash
Executable File

#!/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 .