Skip to content
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

Return a list of project targets excluding aggregate targets. #256

Closed

Conversation

segiddins
Copy link
Member

@kylef
Copy link
Contributor

kylef commented Mar 31, 2015

My understanding of Xcodeproj internals is a little non-existent so I'm no good to review this one.

But should there be tests / changelog entry?

@segiddins
Copy link
Member Author

Yes there should be, but this PR was based off of someone else's branch.

# project excluding aggregate targets.
#
def native_targets
root_object.targets.reject do |target|
Copy link
Member

Choose a reason for hiding this comment

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

Should use select in combination with target.is_a? PBXNativeTarget.

@segiddins
Copy link
Member Author

@mrackwitz do you want to clean this PR up and get it merged?

@mrackwitz mrackwitz closed this Apr 6, 2015
mrackwitz added a commit that referenced this pull request Apr 6, 2015
mrackwitz added a commit that referenced this pull request Apr 7, 2015
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.

Ignore aggregate targets when generating Podfile
4 participants