-
Notifications
You must be signed in to change notification settings - Fork 19
Add testonly to libraries that link XCTest #82
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
Conversation
thiagohmcruz
left a comment
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.
Aren't there any tests for this? If not maybe we can add one?
luispadron
left a comment
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.
Nice we're doing this in our rules currently but this makes more sense.
|
@justinseanmartin I wonder if can add thse flags differently based on what Maxwell added to rules_swift to get it working with pods What do you think if we added back the old behavior into rules_ios conditionally - or adding more intricate logic to detect adding it? I'm still not 100% sure the original motivation to gut the flags. |
|
We'll need to update |
|
This should fix the above issue: bazel-ios/rules_ios#609 |
Tested locally to ensure that
testonly = Trueis added only to the appropriate targets.