Skip to content

Commit c89f900

Browse files
committed
Revert "update .bazelrc for examples"
This reverts commit 46856f3.
1 parent 6e843f7 commit c89f900

File tree

4 files changed

+4
-11
lines changed

4 files changed

+4
-11
lines changed

examples/build_file_generation/.bazelrc

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ build --enable_runfiles
55

66
# The bzlmod version of this example is in examples/bzlmod_build_file_generation
77
# Once WORKSPACE support is dropped, this example can be entirely deleted.
8-
common --noenable_bzlmod
9-
common --enable_workspace
8+
build --experimental_enable_bzlmod=false
109

1110
common:bazel7.x --incompatible_python_disallow_native_rules

examples/pip_parse_vendored/.bazelrc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,5 @@ build --enable_runfiles
55

66
# Vendoring requirements.bzl files isn't necessary under bzlmod
77
# When workspace support is dropped, this example can be removed.
8-
common --noenable_bzlmod
9-
common --enable_workspace
10-
8+
build --noexperimental_enable_bzlmod
119
common:bazel7.x --incompatible_python_disallow_native_rules

examples/pip_repository_annotations/.bazelrc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,5 @@ try-import %workspace%/user.bazelrc
33

44
# This example is WORKSPACE specific. The equivalent functionality
55
# is in examples/bzlmod as the `whl_mods` feature.
6-
common --noenable_bzlmod
7-
common --enable_workspace
8-
6+
build --experimental_enable_bzlmod=false --enable_workspace=true
97
common:bazel7.x --incompatible_python_disallow_native_rules

examples/py_proto_library/.bazelrc

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
11
# The equivalent bzlmod behavior is covered by examples/bzlmod/py_proto_library
2-
common --noenable_bzlmod
3-
common --enable_workspace
4-
2+
common --noenable_bzlmod --enable_workspace=true
53
common:bazel7.x --incompatible_python_disallow_native_rules

0 commit comments

Comments
 (0)