| 1 | #!/bin/bashscip-shell filesystem . . `/bin/bash`. |
| 2 | set -e |
| 3 | |
| 4 | export GO111MODULE=on |
| 5 | |
| 6 | echoscip-shell system . . echo. "checking gofmt" |
| 7 | res=$(gofmtscip-shell system . . gofmt. -d .) |
| 8 | echoscip-shell system . . echo. "$res" |
| 9 | testscip-shell system . . test. -z "$res" |
| 10 | |
| 11 | echoscip-shell system . . echo. "running tests" |
| 12 | goscip-shell system . . go. test ./... -cover |