1
Fork 0
hermetic_cc_toolchain/bin/mod-tidy

12 lines
279 B
Plaintext
Raw Normal View History

2021-07-21 14:59:33 +03:00
#!/bin/bash
set -xeuo pipefail
cd "$(git rev-parse --show-toplevel)"
bazel build @go_sdk//:go_sdk
bazel-bazel-zig-cc/external/go_sdk/bin/go mod tidy
exec bazel run //:gazelle -- update-repos \
-from_file=go.mod \
-prune \
-to_macro=repositories.bzl%go_repositories