Skip to content

Commit 9695632

Browse files
committed
Switch Bazel build files from BUILD to BUILD.bazel
With Meson, Cargo, Buck, and Bazel configurations in the repo simultaneously, Bazel was the only one without adequate namespacing in the filenames.
1 parent 7e032e9 commit 9695632

File tree

6 files changed

+5
-5
lines changed

6 files changed

+5
-5
lines changed

BUILD renamed to BUILD.bazel

File renamed without changes.

book/src/build/bazel.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,10 @@ $ cxxbridge src/bridge.rs --header > path/to/bridge.rs.h
1515
$ cxxbridge src/bridge.rs > path/to/bridge.rs.cc
1616
```
1717

18-
The CXX repo maintains working [Bazel] `BUILD` and [Buck2] `BUCK` targets for
19-
the complete blobstore tutorial (chapter 3) for your reference, tested in CI.
20-
These aren't meant to be directly what you use in your codebase, but serve as an
21-
illustration of one possible working pattern.
18+
The CXX repo maintains working [Bazel] `BUILD.bazel` and [Buck2] `BUCK` targets
19+
for the complete blobstore tutorial (chapter 3) for your reference, tested in
20+
CI. These aren't meant to be directly what you use in your codebase, but serve
21+
as an illustration of one possible working pattern.
2222

2323
[Bazel]: https://bazel.build
2424
[Buck2]: https://buck2.build
@@ -70,7 +70,7 @@ def rust_cxx_bridge(name, src, deps = []):
7070
```
7171

7272
```python
73-
# demo/BUILD
73+
# demo/BUILD.bazel
7474

7575
load("@rules_cc//cc:defs.bzl", "cc_library")
7676
load("@rules_rust//rust:defs.bzl", "rust_binary")
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)