Skip to content

Commit aed7010

Browse files
committed
Update README on bzlmod usage
1 parent b132d55 commit aed7010

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

README.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,16 @@ load("@lowrisc_lint//rules:pip.bzl", "lowrisc_misc_linters_pip_dependencies")
2323
lowrisc_misc_linters_pip_dependencies()
2424
```
2525

26+
If using `bzlmod`, instead add the following to `MODULE.bazel`:
27+
28+
```bazel
29+
bazel_dep("lowrisc_misc_linters")
30+
git_override(
31+
module_name = "lowrisc_misc_linters",
32+
remote = "https://github.com/lowRISC/misc-linters",
33+
)
34+
```
35+
2636
and then in a BUILD file, like the root:
2737

2838
```bazel

0 commit comments

Comments
 (0)