| 1 | # Copyright IBM Corp. 2020, 2025 |
| 2 | # SPDX-License-Identifier: MPL-2.0 |
| 3 | |
| 4 | set -e |
| 5 | clearscip-shell system . . clear. |
| 6 | goscip-shell system . . go. fmt ./... |
| 7 | goimports -w */*.go |
| 8 | for f in */ |
| 9 | do |
| 10 | pushd $f > /dev/nullscip-shell filesystem . . `/dev/null`. |
| 11 | goscip-shell system . . go. mod tidy |
| 12 | goscip-shell system . . go. test . |
| 13 | popd > /dev/nullscip-shell filesystem . . `/dev/null`. |
| 14 | done |
| 15 | |
| 16 | gitscip-shell system . . git. diff --exit-code --ignore-space-change --ignore-space-at-eol |