Skip to content

Update Package.swift and .spi.yml to make them match #1636

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

Merged
merged 1 commit into from
May 4, 2023

Conversation

ahoppen
Copy link
Member

@ahoppen ahoppen commented May 4, 2023

Package.swift and .spi.yml have drifted apart and didn’t actually match anymore. The targets declared in .spi.yml should match the libraries declared in the package manifest. To fix this, update .spi.yml and also declare SwiftBasicFormat as a library in Package.swift. BasicFormat is being used in sufficently many places by now that we can’t really consider it an implementation detail of SwiftSyntax anymore.

I’m adding a script that verifies that Package.swift and .spi.yml match in #1635.

rdar://108902357

Package.swift and `.spi.yml` have drifted apart and didn’t actually match anymore. The targets declared in `.spi.yml` should match the libraries declared in the package manifest. To fix this, update `.spi.yml` and also declare `SwiftBasicFormat` as a library in `Package.swift`. BasicFormat is being used in sufficently many places by now that we can’t really consider it an implementation detail of SwiftSyntax anymore.

rdar://108902357
@ahoppen ahoppen requested review from DougGregor and bnbarham May 4, 2023 18:06
@ahoppen
Copy link
Member Author

ahoppen commented May 4, 2023

@swift-ci Please test

@ahoppen ahoppen mentioned this pull request May 4, 2023
@ahoppen ahoppen merged commit 0884a37 into swiftlang:main May 4, 2023
@ahoppen ahoppen deleted the ahoppen/match-documentation branch May 4, 2023 23:40
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.

3 participants