Download scripts/check-module-bazel-lock.sh from SaylorTwift/codex: direct link, hf CLI and curl.
- Browser
- Download file 328 Bytes
-
https://huggingface.co/SaylorTwift/codex/resolve/main/scripts/check-module-bazel-lock.sh
- Command line
-
hf download hf://SaylorTwift/codex/scripts/check-module-bazel-lock.sh
-
curl -L -o check-module-bazel-lock.sh https://huggingface.co/SaylorTwift/codex/resolve/main/scripts/check-module-bazel-lock.sh
328 Bytes
| set -euo pipefail | |
| repo_root="$(cd "$(dirname "${BASH_SOURCE[0]}")/.." && pwd)" | |
| if ! "${repo_root}/.github/scripts/run_bazel_with_buildbuddy.py" mod deps --lockfile_mode=error; then | |
| echo "MODULE.bazel.lock is out of date." | |
| echo "Run 'just bazel-lock-update' and commit the updated lockfile." | |
| exit 1 | |
| fi | |