Skip to content

Commit f1bdd6b

Browse files
committed
Bazel: switch to erroring out by default on outdated lock file
1 parent b66153b commit f1bdd6b

File tree

2 files changed

+1204
-1
lines changed

2 files changed

+1204
-1
lines changed

.bazelrc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
common --enable_platform_specific_config
22
common --enable_bzlmod
3-
common --lockfile_mode=update
3+
# put common --lockfile_mode=update in your local.bazelrc if you want to auto-update the lock file
4+
common --lockfile_mode=error
45

56
# when building from this repository in isolation, the internal repository will not be found at ..
67
# where `MODULE.bazel` looks for it. The following will get us past the module loading phase, so

0 commit comments

Comments
 (0)