Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit aaf0abf

Browse files
build: enforce frozen lockfile mode
This commit adds `lockfile_mode=error` to the `.bazelrc` file. This change ensures that any future builds will fail if the lock file is not up-to-date with the `BUILD.bazel` file, preventing inconsistencies and encouraging developers to commit updated lock files. (cherry picked from commit a8b049a)
1 parent 6d139a5 commit aaf0abf

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

‎.bazelrc‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,9 @@ test:debug --test_arg=--node_options=--inspect-brk --test_output=streamed --test
1616
# The below is useful to while using `fit` and `fdescribe` to avoid sharing and re-runs of failed flaky tests.
1717
test:no-sharding --flaky_test_attempts=1 --test_sharding_strategy=disabled
1818

19+
# Frozen lockfile
20+
common --lockfile_mode=error
21+
1922
###############################
2023
# Filesystem interactions #
2124
###############################

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /