test: stop running gofmt ./

gofmt ./ will recursively check the .git directory. So use *.go for
gofmt instead
This commit is contained in:
Brandon Philips 2014-09-22 17:11:20 -07:00
parent ceab948831
commit fd48f3f2a4

6
test
View File

@ -14,8 +14,10 @@ COVER=${COVER:-"-cover"}
source ./build
TESTABLE="client etcdserver etcdserver/etcdhttp etcdserver/etcdserverpb functional proxy raft snap store wait wal ./"
FORMATTABLE="$TESTABLE cors.go"
# Hack: gofmt ./ will recursively check the .git directory. So use *.go for gofmt.
TESTABLE_AND_FORMATTABLE="client etcdserver etcdserver/etcdhttp etcdserver/etcdserverpb functional proxy raft snap store wait wal"
TESTABLE="$TESTABLE_AND_FORMATTABLE ./"
FORMATTABLE="$TESTABLE_AND_FORMATTABLE *.go"
# user has not provided PKG override
if [ -z "$PKG" ]; then