#!/bin/sh # script/tidy: run go mod tidy in backend/, 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/backend" go mod tidy } main "$@"