2022-08-30 09:19:56 +03:00
|
|
|
#!/bin/sh
|
|
|
|
set -eu
|
2021-07-21 14:59:33 +03:00
|
|
|
|
2022-04-13 15:58:11 +03:00
|
|
|
cd "$(git rev-parse --show-toplevel)/"
|
|
|
|
bazel run @go_sdk//:bin/go -- mod tidy
|
2021-07-21 14:59:33 +03:00
|
|
|
exec bazel run //:gazelle -- update-repos \
|
|
|
|
-from_file=go.mod \
|
|
|
|
-prune \
|
|
|
|
-to_macro=repositories.bzl%go_repositories
|