-
Notifications
You must be signed in to change notification settings - Fork 819
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
Change targets from list to map #53
Comments
Thoughts @pepibumur? |
|
@yonaskolb in my experience working with multiple projects I don't think the order of the targets doesn't matter a lot. I see more value in making it more readable and more yaml-natural |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
At the moment
targets
is list. That was done to preserve the order of generated targets in the xcode project.There would be some upsides to making it a map of names to targets however:
include
feature could edit and merge targets by nameThe points are very minor other than the first one which is a real consideration.
Is having the order of targets in the project worth it? Thoughts anyone?
Here is a visual difference
list - Array
map - Dictionary
In either case
targets
in theProjectSpec
struct would still be an array, this just affects yamlThe text was updated successfully, but these errors were encountered: