Skip to content

Commit 1dae2c1

Browse files
adrianimbodenhofbi
andauthored
docs: make readme more precise (#84)
There is also a file in the repository called `bazelrc-preset.bzl`. The text can also be understood to append the content of the file to your own `MODULE.bazel`. Especially new users may be a little less confused when it is stated explicitly using an example. --------- Co-authored-by: Markus Hofbauer <[email protected]>
1 parent 549c61a commit 1dae2c1

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,10 @@ Read [the Bazel bazelrc documentation](https://bazel.build/run/bazelrc).
2121
## Install
2222

2323
1. Add `bazelrc-preset.bzl` to your `MODULE.bazel` file.
24+
```starlark
25+
bazel_dep(name = "bazelrc-preset.bzl", version = "...")
26+
```
27+
2428
2. Call it from a `BUILD` file, for example in `tools/BUILD`:
2529

2630
```starlark

0 commit comments

Comments
 (0)