Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
…y out later
  • Loading branch information
malkia committed May 30, 2024
1 parent 2926f53 commit 3f8dc45
Show file tree
Hide file tree
Showing 3 changed files with 89 additions and 1 deletion.
2 changes: 2 additions & 0 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -65,3 +65,5 @@ python.toolchain(
ignore_root_user_error = True,
python_version = "3.12",
)

bazel_dep(name = "depend_on_what_you_use", version = "0.3.0")
80 changes: 79 additions & 1 deletion MODULE.bazel.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions bazel/dwyu.bzl
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
load("@depend_on_what_you_use//:defs.bzl", "dwyu_aspect_factory")

# https://github.com/martis42/depend_on_what_you_use?tab=readme-ov-file#use-dwyu
# bazel build ... --aspects=//bazel:dwyu.bzl%aspect --output_groups=dwyu

# Provide no arguments for the default behavior
# Or set a custom value for the various attributes
aspect = dwyu_aspect_factory()

0 comments on commit 3f8dc45

Please sign in to comment.