cosmos-sdk/scripts/go-mod-tidy-all.sh
2024-09-11 08:08:09 +00:00

9 lines
161 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
for modfile in $(find . -name go.mod); do
echo "Updating $modfile"
DIR=$(dirname $modfile)
(cd $DIR; go mod tidy)
done