8b5c41e409
This patch continues the work to support NixOS and others non-FHS distributions by replacing instances of `/bin/bash` with `/usr/bin/env bash`, which works correctly in more systems than the former. Signed-off-by: Luis Holanda <luiscmholanda@gmail.com>
11 lines
247 B
Bash
Executable File
11 lines
247 B
Bash
Executable File
#!/usr/bin/env 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
|