9 lines
161 B
Bash
Executable File
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 |