1
Fork 0
hermetic_cc_toolchain/bin/mod-tidy

13 lines
316 B
Plaintext
Raw Normal View History

#!/bin/sh
# Copyright 2023 Uber Technologies, Inc.
# Licensed under the Apache License, Version 2.0
set -eu
2021-07-21 14:59:33 +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