5
BADFMT=`find * -name '*.go' | xargs gofmt -l`
6
if [ -n "$BADFMT" ]; then
7
BADFMT=`echo "$BADFMT" | sed "s/^/ /"`
8
echo -e "gofmt is sad:\n\n$BADFMT"
12
VERSION=`go version | awk '{print $3}'`
13
if [ $VERSION == 'devel' ]; then
18
-printfuncs 'ErrorContextf:1,notFoundf:0,badReqErrorf:0,Commitf:0,Snapshotf:0,Debugf:0' \
22
# check this branch builds cleanly
23
go build launchpad.net/juju-core/...
25
# TODO(dfc) uncomment when the tests pass reliably
26
# go test launchpad.net/juju-core/...