mirror of
https://github.com/redis/go-redis.git
synced 2025-04-19 07:22:17 +03:00
10 lines
239 B
Bash
Executable File
10 lines
239 B
Bash
Executable File
PACKAGE_DIRS=$(find . -mindepth 2 -type f -name 'go.mod' -exec dirname {} \; \
|
|
| sed 's/^\.\///' \
|
|
| sort)
|
|
|
|
for dir in $PACKAGE_DIRS
|
|
do
|
|
printf "${dir}: go get -d && go mod tidy\n"
|
|
(cd ./${dir} && go get -d && go mod tidy)
|
|
done
|