| 1 | #!/bin/bashscip-shell filesystem . . `/bin/bash`. |
| 2 | |
| 3 | testscip-shell system . . test. -z "$(goimports -d .)" |
| 4 | if [[ -n "$(gofmt -s -l .)" ]]; then |
| 5 | echoscip-shell system . . echo. -e '\e[31mCode not gofmt simplified in:\n\n' |
| 6 | gofmtscip-shell system . . gofmt. -s -l . |
| 7 | echoscip-shell system . . echo. -e "\e[0" |
| 8 | fi |