Skip to content

Conversation

FranzBusch
Copy link
Member

This might be a controversial PR! 🍿

Motivation

It always bothered me how our Package.swift is structured. First, we had a huge list of targets at the top that distracted from the products. The products are the important part for our adopters since those are the actual modules they can use. Secondly, the formatting of the targets made it hard to follow and resulted in unnecessary merge conflicts.

Modification

This PR moves the targets back to the bottom and splits all the various array elements into separate elements.

Result

Easier to understand Package.swift and less merge conflicts.

@FranzBusch FranzBusch force-pushed the fb-package-manifest branch 2 times, most recently from c9b38c3 to fba83e2 Compare July 6, 2023 15:05
This might be a controversial PR! 🍿

# Motivation
It always bothered me how our `Package.swift` is structured. First, we had a huge list of `targets` at the top that distracted from the `products`. The `products` are the important part for our adopters since those are the actual modules they can use. Secondly, the formatting of the targets made it hard to follow and resulted in unnecessary merge conflicts.

# Modification
This PR moves the targets back to the bottom and splits all the various array elements into separate elements.

# Result
Easier to understand `Package.swift` and less merge conflicts.
@FranzBusch FranzBusch force-pushed the fb-package-manifest branch from fba83e2 to f17c31b Compare July 7, 2023 08:05
Copy link
Contributor

@Lukasa Lukasa left a comment

Choose a reason for hiding this comment

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

Sure, why not.

@FranzBusch
Copy link
Member Author

Merging over the known allocation regression.

@FranzBusch FranzBusch merged commit 3a88bf6 into apple:main Jul 7, 2023
@FranzBusch FranzBusch deleted the fb-package-manifest branch July 7, 2023 10:24
@FranzBusch FranzBusch added the semver/none No version bump required. label Jul 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
semver/none No version bump required.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants