mirror of https://github.com/ethereum/go-ethereum
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
239 B
11 lines
239 B
9 years ago
|
#!/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 .
|