-
Notifications
You must be signed in to change notification settings - Fork 8
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
fix: support specs with platform-specific transitives #17
Conversation
@@ -51,6 +51,7 @@ fixtureTest( | |||
'CocoaPods’ integration spec install_new', | |||
'cp-integration-install_new' | |||
); | |||
fixtureTest('Parse iina’s Podfile.lock', 'iina'); |
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.
Maybe the description
should mention what is actually under test a little more? Something like:
'Unused platform specific transitives are excluded'
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.
Approved pending better test case description
This supports the case where the pod is not a direct dependency of any targets of the integration, which can happen for platform-specific transitives, when their platform is not used in any target. (e.g. PromiseKit/UIKit is iOS-specific and is a transitive of PromiseKit, but won't be included for a macOS-only integration.)
c30d33f
to
ce65397
Compare
🎉 This PR is included in version 2.0.4 🎉 The release is available on: Your semantic-release bot 📦🚀 |
What this does
This supports the case where the pod is not a direct dependency of any targets of the integration, which can happen for platform-specific transitives, when their platform is not used in any target. (e.g. PromiseKit/UIKit is iOS-specific and is a transitive of PromiseKit, but won't be included for a macOS-only integration.)
/c @arielorn