You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Introduces the new PIF builder for SwiftBuild (#8405)
Introduces the new PIF builder for packages in `SwiftBuildSupport`.
### Motivation:
This continues the work started by #8271,
introducing now our new *PIF builder* for packages. As expected, this
will happen in the new `SwiftBuildSupport` target, introduced to support
the just released **Swift Build** project.
### Modifications:
This 1st PR *only* includes the new code in the corresponding
`SwiftBuildSupport/PIFPackageBuilder*.swift` source files. The code
isn't actually being used (or unit tested) just yet.
The code still uses the older `SWBProjectModel.PIF` API to build the PIF
data model. In an upcoming PR, I will be migrating this over to the
newer `SwiftBuild.ProjectModel` API, and then finally replacing the
original code to actually use the PIF builder to send package build
information to Swift Build.
PS. I did run `SwiftFormat` in all new code, as indicated by the
contributors guide.
### Result:
This marks the start of our *package PIF builder* unification (i.e.,
between Xcode and SwiftPM).
Tracked by rdar://147767772.
0 commit comments