core-agent-ide/scripts/check-module-bazel-lock.sh

9 lines
213 B
Bash
Raw Permalink Normal View History

#!/usr/bin/env bash
set -euo pipefail
if ! bazel 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