blob: e341a1cb78f9106c94c60699d5c04e603d5506ec [file] [log] [blame]
Holger Hildebrandtfa074992020-03-27 15:42:06 +00001#!/bin/bash
2
3cd "$(dirname $0)"
4if [ -n "$(go fmt ./...)" ]; then
5 echo "Go code is not formatted, run 'go fmt github.com/google/stenographer/...'" >&2
6 exit 1
7fi