Skip to content

Commit

Permalink
Update README on bzlmod usage
Browse files Browse the repository at this point in the history
  • Loading branch information
jwnrt committed Jun 17, 2024
1 parent b132d55 commit aed7010
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,16 @@ load("@lowrisc_lint//rules:pip.bzl", "lowrisc_misc_linters_pip_dependencies")
lowrisc_misc_linters_pip_dependencies()
```

If using `bzlmod`, instead add the following to `MODULE.bazel`:

```bazel
bazel_dep("lowrisc_misc_linters")
git_override(
module_name = "lowrisc_misc_linters",
remote = "https://github.com/lowRISC/misc-linters",
)
```

and then in a BUILD file, like the root:

```bazel
Expand Down

0 comments on commit aed7010

Please sign in to comment.