bazel-contrib / bazel-gazelle

Gazelle is a Bazel build file generator for Bazel projects. It natively supports Go and protobuf, and it may be extended to support new languages and custom rule sets.
Apache License 2.0
1.19k stars 379 forks source link

Add `bzl_library` targets to gazelle targets (and to rules_go) #762

Open achew22 opened 4 years ago

achew22 commented 4 years ago

What version of gazelle are you using?

HEAD

What version of rules_go are you using?

HEAD

What version of Bazel are you using?

3.0

Does this issue reproduce with the latest releases of all the above?

Yes

What operating system and processor architecture are you using?

Linux AMD64

What did you do?

I am trying to generate bazelbuild/stardoc documentation for my repo. I have a couple of macros that wrap stuff from rules_go and bazel-gazelle. I would like to add bzl_library targets to the two repos. I can then add a deps on the macro wrappers.

nlewo commented 3 years ago

I have the same usecase. It looks like the same kind of issue has been solved in rules_go.