check / check (push) Waiting to run
main's tree, with next merged on 26 October, as one commit onto prod, on sneak's order. Model: opus-5-5 Co-authored-by: clawbot <clawbot@noreply.example.org>
14 lines
248 B
Bash
Executable File
14 lines
248 B
Bash
Executable File
#!/bin/sh
|
|
# script/tidy: run go mod tidy, which adds the modules the Go sources
|
|
# import, drops those they no longer do, and updates go.sum.
|
|
set -eu
|
|
|
|
ROOT="$(cd "$(dirname "$0")/.." && pwd -P)"
|
|
|
|
main() {
|
|
cd "$ROOT"
|
|
go mod tidy
|
|
}
|
|
|
|
main "$@"
|