Skip to content

Commit

Permalink
[bazel] Convert buildifier to a dev dependency
Browse files Browse the repository at this point in the history
These are dependencies that are only needed when working on the
OpenTitan modules itself and not needed by modules depending on
OpenTitan.

Signed-off-by: James Wainwright <james.wainwright@lowrisc.org>
  • Loading branch information
jwnrt committed Dec 18, 2024
1 parent c168e77 commit 99610ea
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,17 @@

module(name = "lowrisc_opentitan")

# Dependencies:
bazel_dep(name = "bazel_skylib", version = "1.7.1")
bazel_dep(name = "buildifier_prebuilt", version = "6.4.0")

# Dev dependencies:
bazel_dep(
name = "buildifier_prebuilt",
version = "6.4.0",
dev_dependency = True,
)

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

include("//third_party/python:python.MODULE.bazel")
Expand All @@ -15,6 +23,7 @@ include("//third_party/lint:lint.MODULE.bazel")

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

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

bitstreams_repo(name = "bitstreams")

0 comments on commit 99610ea

Please sign in to comment.