1
Fork 0
hermetic_cc_toolchain/bin/mod-tidy

13 lines
295 B
Bash
Executable File

#!/bin/sh
# Copyright 2023 Uber Technologies, Inc.
# Licensed under the Apache License, Version 2.0
set -xeu
cd "$(git rev-parse --show-toplevel)"
echo "--- go mod tidy"
tools/bazel run @go_sdk//:bin/go -- mod tidy
echo "--- gazelle-update-repos"
exec tools/bazel run //:gazelle-update-repos