Skip to content

Commit

Permalink
Avoid generating lock file for core rules (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
abrisco authored Dec 10, 2024
1 parent b56bb7f commit 4c149d9
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 5,360 deletions.
10 changes: 6 additions & 4 deletions .bazelrc
Original file line number Diff line number Diff line change
Expand Up @@ -11,15 +11,17 @@ build:linux --workspace_status_command=tools/workspace_status.sh
build:macos --workspace_status_command=tools/workspace_status.sh
build:windows --workspace_status_command=tools/workspace_status.bat

# These settings make the windows workers behave similarly to unix workers
startup --windows_enable_symlinks
build --enable_runfiles

# https://github.com/bazelbuild/bazel/issues/8195
build --incompatible_disallow_empty_glob=true

# https://github.com/bazelbuild/bazel/issues/12821
build --nolegacy_external_runfiles

# A configuration for disabling bzlmod.
common:no-bzlmod --noenable_bzlmod --enable_workspace

# Disable the bzlmod lockfile, so we don't accidentally commit MODULE.bazel.lock
common --lockfile_mode=off

# This flag should always go last
try-import %workspace%/user.bazelrc
Loading

0 comments on commit 4c149d9

Please sign in to comment.