-
Notifications
You must be signed in to change notification settings - Fork 378
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow wrappers #18
Comments
This would also be useful for bazel-integration-testing's bazel_go_integration_test |
This would be very useful also to allow gazelle to generate predefined Any ideas on how to do that? Where to start? I would love to help. |
Have you tried
I've been using this in my repo for a long time to great success. Where it would have generated a |
@achew22 I didn't now about that. Worked here, thanks a lot. About |
What would the You could pretty easily put together a Gazelle plugin to create a |
Thanks. Yes, that was my goal: to have |
If you're looking for some inspiration, there are a couple of simple plugins that are pretty easy to work through. The easiest is one that makes a [0] https://github.com/bazelbuild/bazel-gazelle/blob/master/internal/language/test_filegroup/lang.go |
Migrated from bazel-contrib/rules_go#748
Allow people to mark rules as a wrapper for a go rule, so they can be managed by gazelle as if the were the underlying rule.
It would be even nicer if you could do this once for an entire rule type rather than per rule. The original example was bazelbuild/rules_docker#119 where go_image is a proxy for go_binary as far as gazelle should be concerned.
The text was updated successfully, but these errors were encountered: