Skip to content

Commit d5fd6e6

Browse files
committed
Rename Bazel files to have .bazel extensions.
1 parent 5afa2e2 commit d5fd6e6

File tree

6 files changed

+4
-2
lines changed

6 files changed

+4
-2
lines changed
File renamed without changes.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ http_archive(
3030
# We still require the pybind library.
3131
http_archive(
3232
name = "pybind11",
33-
build_file = "@pybind11_bazel//:pybind11.BUILD",
33+
build_file = "@pybind11_bazel//:pybind11-BUILD.bazel",
3434
strip_prefix = "pybind11-<version>",
3535
urls = ["https://github.com/pybind/pybind11/archive/v<version>.zip"],
3636
)
File renamed without changes.

WORKSPACE.bzlmod

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Bazel extensions for pybind11
2+
workspace(name = "pybind11_bazel")

internal_configure.bzl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ def _internal_configure_extension_impl(module_ctx):
1919
version = version.split(".bzl.")[0]
2020
http_archive(
2121
name = "pybind11",
22-
build_file = "//:pybind11.BUILD",
22+
build_file = "//:pybind11-BUILD.bazel",
2323
strip_prefix = "pybind11-%s" % version,
2424
urls = ["https://github.com/pybind/pybind11/archive/v%s.zip" % version],
2525
)
File renamed without changes.

0 commit comments

Comments
 (0)