Add testonly to libraries that link XCTest#82
Conversation
thiagohmcruz
left a comment
There was a problem hiding this comment.
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.
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.