This would be great. The two places where we’d need to add the API are:
When envisioning the API, I’d recommend aligning with Xcode’s terminology. Maybe something along the lines of:
let target = Target(
/..../
sources: .synchronized("Sources/MyTarget"),
resources: .synchronized("Resources/MyTarget"),
)
I’d start with the simplest API, and then iterate on that to add exceptions later.
Let me know if you need any guidance to contribute to the projects. I’d be happy to give you a rundown of the surfaces of the code bases that you’ll have to touch.