☰
Debian Codegraph
@
0.15.1-3
/
/
.github
/
workflows
/
script.d
/
check-formatting.sh
☽
☼
.github/workflows/script.d/check-formatting.sh
code
plain
raw
symbols
SCIP
BSD-3-clause
2010, The Go Authors; 2013, The Gonum Authors
debian/copyright
1
#!
/bin/bash
2
3
test
-z "$(goimports -d .)"
4
if [[ -n "$(gofmt -s -l .)" ]]; then
5
echo
-e '\e[31mCode not gofmt simplified in:\n\n'
6
gofmt
-s -l .
7
echo
-e "\e[0"
8
fi