Skip to content

Commit

Permalink
bazel: mark more dependencies as dev_dependency
Browse files Browse the repository at this point in the history
When consuming bazeldnf most of the time users don't want to build the
binary
  • Loading branch information
manuelnaranjo committed Aug 26, 2024
1 parent 92b9b43 commit febfc90
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions MODULE.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -18,11 +18,11 @@ bazel_dep(name = "platforms", version = "0.0.10")
bazel_dep(name = "bazel_features", version = "1.14.0")

# dependenices for building bazeldnf
bazel_dep(name = "gazelle", version = "0.37.0")
bazel_dep(name = "rules_go", version = "0.49.0")
bazel_dep(name = "toolchains_protoc", version = "0.3.2")
bazel_dep(name = "gazelle", version = "0.37.0", dev_dependency = True)
bazel_dep(name = "rules_go", version = "0.49.0", dev_dependency = True)
bazel_dep(name = "toolchains_protoc", version = "0.3.2", dev_dependency = True)

go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps")
go_deps = use_extension("@gazelle//:extensions.bzl", "go_deps", dev_dependency = True)

# Validate a go.mod replace directive works.
go_deps.from_file(go_mod = "//:go.mod")
Expand Down

0 comments on commit febfc90

Please sign in to comment.