-
Notifications
You must be signed in to change notification settings - Fork 306
Updates missing documentation about infoplists
parameter for ios_unit_test
and ios_ui_test
rules
#2777
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
base: master
Are you sure you want to change the base?
Conversation
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
You'll also need to sign the CLA. |
# Add bundle attributes to make them visible in documentation | ||
rule_attrs.infoplist_attrs(), | ||
{ | ||
"bundle_name": attr.string( | ||
mandatory = False, | ||
doc = """ | ||
The desired name of the bundle (without the extension). If this attribute is not set, then the name | ||
of the target will be used instead. | ||
""", | ||
), | ||
"frameworks": attr.label_list( | ||
providers = [[AppleBundleInfo]], | ||
doc = """ | ||
A list of framework targets that this target depends on. | ||
""", | ||
), | ||
}, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This causes the test runner to be invalidated when these values change. I don't like that. Longer term it might be best to separate the test runner from the bundle (#2744 (comment)).
Short term, we could adjust apple/ios.doc.bzl
and the like to point to the macro in apple/ios.bzl
and add a hand-crafted docstring.
What
Adds
infoplists
parameter to documentation forios_unit_test
andios_ui_test
rules. Links to problem described in Issue #2776