1
0
Fork 0
forked from forks/go-ethereum
go-ethereum-modded-tocallarg/vendor/github.com/ethereum/go-ethereum/metrics/validate.sh
2019-06-03 12:28:18 +02:00

10 lines
245 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 -race .