.travis.gofmt.sh 165 B

1234567
  1. #!/bin/bash
  2. cd "$(dirname $0)"
  3. if [ -n "$(go fmt ./...)" ]; then
  4. echo "Go code is not formatted, run 'go fmt github.com/google/stenographer/...'" >&2
  5. exit 1
  6. fi