1
Fork 0
hermetic_cc_toolchain/bin/mod-tidy

11 lines
239 B
Bash
Executable File

#!/bin/bash
set -xeuo pipefail
cd "$(git rev-parse --show-toplevel)/"
bazel run @go_sdk//:bin/go -- mod tidy
exec bazel run //:gazelle -- update-repos \
-from_file=go.mod \
-prune \
-to_macro=repositories.bzl%go_repositories