diff options
author | Péter Szilágyi <peterke@gmail.com> | 2016-02-11 22:16:52 +0800 |
---|---|---|
committer | Péter Szilágyi <peterke@gmail.com> | 2016-02-11 22:16:52 +0800 |
commit | b019f3ee29ce55c3d515ee8bafe0f4bb14221c0a (patch) | |
tree | 26e023be6c99a10e82a5a0ebadd1e42cefe9bd3c /Godeps/_workspace/src/github.com/rcrowley/go-metrics/validate.sh | |
parent | b05e472c076d30035233d6a8b5fb3360b236e3ff (diff) | |
download | dexon-b019f3ee29ce55c3d515ee8bafe0f4bb14221c0a.tar dexon-b019f3ee29ce55c3d515ee8bafe0f4bb14221c0a.tar.gz dexon-b019f3ee29ce55c3d515ee8bafe0f4bb14221c0a.tar.bz2 dexon-b019f3ee29ce55c3d515ee8bafe0f4bb14221c0a.tar.lz dexon-b019f3ee29ce55c3d515ee8bafe0f4bb14221c0a.tar.xz dexon-b019f3ee29ce55c3d515ee8bafe0f4bb14221c0a.tar.zst dexon-b019f3ee29ce55c3d515ee8bafe0f4bb14221c0a.zip |
Godeps: update all dependencies to latest code
Diffstat (limited to 'Godeps/_workspace/src/github.com/rcrowley/go-metrics/validate.sh')
-rw-r--r-- | Godeps/_workspace/src/github.com/rcrowley/go-metrics/validate.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/Godeps/_workspace/src/github.com/rcrowley/go-metrics/validate.sh b/Godeps/_workspace/src/github.com/rcrowley/go-metrics/validate.sh new file mode 100644 index 000000000..f6499982e --- /dev/null +++ b/Godeps/_workspace/src/github.com/rcrowley/go-metrics/validate.sh @@ -0,0 +1,10 @@ +#!/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 . |