forked from mystiq/dex
8 lines
153 B
Text
8 lines
153 B
Text
|
#!/bin/bash -e
|
||
|
|
||
|
result=$( go fmt $@ )
|
||
|
if [[ $result != "" ]]; then
|
||
|
>&2 echo "The following files are not formatted correctly: $result"
|
||
|
exit 1
|
||
|
fi
|