File tree Expand file tree Collapse file tree
examples/bzlmod_build_file_generation Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -27,10 +27,14 @@ bcr_test_module:
2727 platform : ${{ platform }}
2828 bazel : ${{ bazel }}
2929 shell_commands :
30+ # Add an empty line in case the bazelrc is missing a trailing newline
31+ - " echo '' >> .bazelrc"
3032 - " echo 'common --override_module=rules_python=' >> .bazelrc"
3133 - " bazel run //:gazelle_python_manifest.update"
3234 - " bazel run //:gazelle -- update"
3335 batch_commands :
36+ # Add an empty line in case the bazelrc is missing a trailing newline
37+ - " echo '' >> .bazelrc"
3438 - " echo common --override_module=rules_python= >> .bazelrc"
3539 - " bazel run //:gazelle_python_manifest.update"
3640 - " bazel run //:gazelle -- update"
Original file line number Diff line number Diff line change @@ -28,4 +28,3 @@ common:bazel7.x --incompatible_python_disallow_native_rules
2828# See issue 3567. Disable implicit python zip creation.
2929common --build_python_zip=false
3030common --@rules_python//python/config_settings:build_python_zip=false
31-
Original file line number Diff line number Diff line change @@ -20,6 +20,3 @@ common:bazel7.x --incompatible_python_disallow_native_rules
2020# See issue 3567. Disable implicit python zip creation.
2121common --build_python_zip=false
2222common --@rules_python//python/config_settings:build_python_zip=false
23-
24- # Empty newline
25-
Original file line number Diff line number Diff line change @@ -18,6 +18,3 @@ common --override_module=rules_python=../../../
1818# See issue 3567. Disable implicit python zip creation.
1919common --build_python_zip=false
2020common --@rules_python//python/config_settings:build_python_zip=false
21-
22- # Empty newline
23-
You can’t perform that action at this time.
0 commit comments