-
-
Notifications
You must be signed in to change notification settings - Fork 637
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
Conversion between Targets and their BUILD aliases. #2024
Comments
To be clear - the listed motivating case (an instance of 2. above) already is used / supported like so: https://github.com/pantsbuild/pants/blob/master/src/python/pants/backend/core/tasks/filter.py#L80-L84 |
Can that be done without a |
I'll take #1 which is the only case I can currently find need for in the codebase. |
OK - the solution for 1 above is in master @ ad9f848 Do you have a concrete use case for 2 above @gmalmquist? If not I'll close this. |
I'll assign this to you @gmalmquist to close or else keep open / refine for the remaining criteria. |
(2) is possible via |
There should be an easy way to do both:
The motivation for this is allowing users to specify the names of BUILD file aliases (such as
java_library
) as options, which can be read and understood properly by tasks, subsystems, et cetera, rather than having to use internal names likeJavaLibrary
.The text was updated successfully, but these errors were encountered: