minor: rename to gomodtidyall
Vladimir Bauer
1 year, 11 months ago
|
0 |
#!/bin/sh
|
|
1 |
set -e
|
|
2 |
|
|
3 |
for d in *; do
|
|
4 |
[ ! -d "$d" ] && continue
|
|
5 |
pushd "$d" >/dev/null 2>&1
|
|
6 |
go mod tidy
|
|
7 |
popd >/dev/null 2>&1
|
|
8 |
done
|
| 0 | |
#!/bin/sh
|
| 1 | |
set -e
|
| 2 | |
|
| 3 | |
for d in *; do
|
| 4 | |
[ ! -d "$d" ] && continue
|
| 5 | |
pushd "$d" >/dev/null 2>&1
|
| 6 | |
go mod tidy
|
| 7 | |
popd >/dev/null 2>&1
|
| 8 | |
done
|