Gitiles
Code Review
Sign In
gerrit.opencord.org
/
bbsim
/
5e83f707f260e9fdb3950dcbe205ba225edb5ba9
/
.
/
vendor
/
github.com
/
google
/
gopacket
/
.travis.gofmt.sh
blob: e341a1cb78f9106c94c60699d5c04e603d5506ec [
file
] [
log
] [
blame
]
Matteo Scandolo
a6a3aee
2019-11-26 13:30:14 -0700
[
diff
] [
blame
]
1
#!/bin/bash
2
3
cd
"$(dirname $0)"
4
if
[
-
n
"$(go fmt ./...)"
];
then
5
echo
"Go code is not formatted, run 'go fmt github.com/google/stenographer/...'"
>&
2
6
exit
1
7
fi