Skip to content

Commit

Permalink
[bazel] Inline misc_linters module
Browse files Browse the repository at this point in the history
This one dependency is not large enough to have its own file. Also make
it a `dev_dependency`. This is actually required since overrides are
only processed from the root module. Depending modules would not be able
to find `lowrisc_misc_linters` if they depended on this module.

Signed-off-by: James Wainwright <james.wainwright@lowrisc.org>
  • Loading branch information
jwnrt committed Dec 18, 2024
1 parent 31ed313 commit 579025e
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 13 deletions.
11 changes: 9 additions & 2 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,21 @@ bazel_dep(
version = "6.4.0",
dev_dependency = True,
)
bazel_dep(
name = "lowrisc_misc_linters",
dev_dependency = True,
)
git_override(
module_name = "lowrisc_misc_linters",
commit = "13303cfa284e8b8c7040c6ad716b0b0c55e0aa8d",
remote = "https://github.com/lowRISC/misc-linters",
)

# Includes:
include("//third_party/rust:rust.MODULE.bazel")

include("//third_party/python:python.MODULE.bazel")

include("//third_party/lint:lint.MODULE.bazel")

# Repository rules:
bitstreams_repo = use_repo_rule("//rules:bitstreams.bzl", "bitstreams_repo")

Expand Down
11 changes: 0 additions & 11 deletions third_party/lint/lint.MODULE.bazel

This file was deleted.

0 comments on commit 579025e

Please sign in to comment.