Skip to content

Commit

Permalink
Remove dev_dependency from buildifier_prebuilt.
Browse files Browse the repository at this point in the history
Otherwise, including any targets from //:BUILD.bazel
in something that gets invoked from the internal build system
will result in a missing dependency error.
This is relevant for C#, where I add a file export
to `LICENSE` to the top-level `BUILD.bazel` file.
  • Loading branch information
criemen committed May 5, 2024
1 parent 5d5e313 commit 2a68f80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ bazel_dep(name = "abseil-cpp", version = "20240116.0", repo_name = "absl")
bazel_dep(name = "nlohmann_json", version = "3.11.3", repo_name = "json")
bazel_dep(name = "fmt", version = "10.0.0")

bazel_dep(name = "buildifier_prebuilt", version = "6.4.0", dev_dependency = True)
bazel_dep(name = "buildifier_prebuilt", version = "6.4.0")

pip = use_extension("@rules_python//python/extensions:pip.bzl", "pip")
pip.parse(
Expand Down

0 comments on commit 2a68f80

Please sign in to comment.