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

Project Helper for different Target Types #260

Merged
merged 9 commits into from
Apr 7, 2015
Merged

Conversation

mrackwitz
Copy link
Member

This supersedes #256.
This adds methods to:

  • Return a list of project targets excluding aggregate targets including only native targets
  • Create new aggregate targets

@mrackwitz mrackwitz changed the title Project Helper for different Targe Types Project Helper for different Target Types Apr 6, 2015
mrackwitz added a commit that referenced this pull request Apr 6, 2015
@mrackwitz
Copy link
Member Author

@segiddins @neonichu: any feedback?

@@ -2,6 +2,23 @@

## 0.23.1

##### Enhancements
Copy link
Contributor

Choose a reason for hiding this comment

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

This shouldn't go below 0.23.1, but instead master.

# project excluding aggregate targets.
#
def native_targets
root_object.targets.select 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.

root_object.targets.grep(PBXNativeTarget)

@segiddins
Copy link
Member

👍 other than the one comment

@neonichu
Copy link
Member

neonichu commented Apr 7, 2015

LGTM 👍

mrackwitz added a commit that referenced this pull request Apr 7, 2015
Project Helper for different Target Types
@mrackwitz mrackwitz merged commit a9dd7d9 into master Apr 7, 2015
@mrackwitz mrackwitz deleted the aggregate-targets branch April 7, 2015 20:13
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.

5 participants