syncthing/Godeps/_workspace/src/github.com/thejerf/suture/pre-commit

12 lines
149 B
Plaintext
Raw Normal View History

2015-03-29 08:47:30 +00:00
#!/bin/bash
GOLINTOUT=$(golint *go)
if [ ! -z "$GOLINTOUT" -o "$?" != 0 ]; then
echo golint failed:
echo $GOLINTOUT
exit 1
fi
go test