Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
build
/
blueprint
/
9b435b8089d699e9490de0b846e674e97a11a0ad
/
.
/
.gofmt.sh
blob: 3aa9374e8922683cc1aa3bb5777cd1fe3b16c221 [
file
] [
log
] [
blame
]
#!/bin/bash
if
[
-
n
"$(gofmt -l .)"
];
then
echo
"Go code is not formatted:"
gofmt
-
d
.
exit
1
fi