Sign in
fuchsia
/
third_party
/
github.com
/
gonum
/
gonum
/
refs/heads/upstream/joss-paper
/
.
/
.travis
/
check-formatting.sh
blob: 6344554648e648c85003f01c3260662110676dc1 [
file
] [
log
] [
blame
]
#!/bin/bash
test
-
z
"$(goimports -d .)"
if
[[
-
n
"$(gofmt -s -l .)"
]];
then
echo
-
e
'\e[31mCode not gofmt simplified in:\n\n'
gofmt
-
s
-
l
.
echo
-
e
"\e[0"
fi