Sign in
◑
Theme
android
/
platform
/
external
/
bazelbuild-remote-apis-sdks
/
dc1a0000c3dc9ace381594862feeff7190b857f0
/
.
/
check-golint.sh
blob: 9b9a8dd8603fedf0a5070d8e64b637d8de03410a [
file
]
#!/bin/bash
linterrs
=
$
(
golint
-
min_confidence
1.0
./...)
[
-
z
"$linterrs"
]
&&
exit
0
# Some files are not golint'd. Print message and fail.
echo
>&
2
"Please fix the following lint errors:"
echo
>&
2
"$linterrs"
exit
1