Skip to content

Commit

Permalink
Update docs for BUILD.bazel
Browse files Browse the repository at this point in the history
  • Loading branch information
nya3jp committed Apr 1, 2024
1 parent 6706af1 commit be5bc52
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions docs/guide/new_workspace.md
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,8 @@ build --coverage_report_generator=@rules_contest//contest:fake_coverage_report_g
### prelude_bazel (optional)

`tools/build_rules/prelude_bazel` file is read by Bazel before evaluating any
`BUILD` file. You can load rules provided by `rules_contest` to avoid explicitly
loading them in each `BUILD` file.
`BUILD.bazel` file. You can load rules provided by `rules_contest` to avoid
explicitly loading them in each `BUILD.bazel` file.

```python
load("@rules_contest//contest:defs.bzl",
Expand Down
3 changes: 2 additions & 1 deletion docs/reference/rules.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

All rules are defined in `@rules_contest//contest:defs.bzl`.

To use rules, put the following `load` statement to the top of the `BUILD` file.
To use rules, put the following `load` statement to the top of the `BUILD.bazel`
file.

```python
load(
Expand Down

0 comments on commit be5bc52

Please sign in to comment.