-
Notifications
You must be signed in to change notification settings - Fork 4
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
Add unique provider for sh_*
rules
#16
Comments
Interesting. Empty providers called Is there any information that could be provided? |
One clear example of an aspect to run is |
This issue can probably be transferred to https://github.com/bazelbuild/rules_shell, @fmeum @comius do you agree? |
I do, but I can't transfer issues. |
Description of the feature request:
I would like to write aspects that target shell rules but there’s no unique provider to key in on. Would it be possible to have a provider made to make this possible?
What underlying problem are you trying to solve with this feature?
I want to write an aspect that does linting on sh_binary targets but if --incompatible_top_level_aspects_require_providers is enabled the aspect fails since
sh_binary
,sh_library
, andsh_test
don’t return uniquely identifying providersWhich operating system are you running Bazel on?
Linux
What is the output of
bazel info release
?6.1.0
If
bazel info release
returnsdevelopment version
or(@non-git)
, tell us how you built Bazel.No response
What's the output of
git remote get-url origin; git rev-parse master; git rev-parse HEAD
?No response
Have you found anything relevant by searching the web?
No response
Any other information, logs, or outputs that you want to share?
No response
The text was updated successfully, but these errors were encountered: