Files
weave-scope/vendor/github.com/google/gopacket/.travis.gofmt.sh
2020-01-13 16:56:01 +00:00

8 lines
165 B
Bash

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