8000 Cleanup wiring target dependencies. by sebastianv1 · Pull Request #8350 · CocoaPods/CocoaPods · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Cleanup wiring target dependencies. #8350

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

sebastianv1
Copy link
Collaborator

No description provided.

@CocoaPodsBarista
Copy link
1 Warning
⚠️ Please include a CHANGELOG entry to credit yourself!
You can find it at CHANGELOG.md.

Here's an example of your CHANGELOG entry:

* Cleanup wiring target dependencies.  
  [sebastianv1](https://github.com/sebastianv1)
  [#issue_number](https://github.com/CocoaPods/CocoaPods/issues/issue_number)

note: There are two invisible spaces after the entry's text.

Generated by 🚫 Danger

@dnkoutso dnkoutso added this to the 1.7.0 milestone Dec 12, 2018
Pull adding resource bundles for app specs and test specs out of looping over the dependent targets. Since we know which `pod_target_installation_result` the specs belong to, we don't need to loop over its depedencies to find its resource bundles.
@sebastianv1 sebastianv1 force-pushed the sebastianv1/fixup-test-app-resource-bundles branch from 95ace76 to 2401391 Compare December 12, 2018 22:51
@dnkoutso dnkoutso merged commit f8e4188 into CocoaPods:master Dec 13, 2018
@dnkoutso dnkoutso deleted the sebastianv1/fixup-test-app-resource-bundles branch December 13, 2018 01:17
pod_target_installation_result.test_specs_by_native_target.each do |test_native_target, test_specs|
test_dependent_targets = test_specs.flat_map { |s| pod_target.test_dependent_targets_by_spec_name[s.name] }.compact.unshift(pod_target).uniq
pod_target_installation_result.test_specs_by_native_target.each do |test_native_target, test_spec|
resource_bundle_native_target = pod_target_installation_result.test_resource_bundle_targets[test_spec.name]
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: targets, since it's an array

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants
0