RFC: Building Swift Packages in build-script

I haven't digested your post yet, but obligatory link to my thoughts in this direction (which remained unimplemented, sadly)

[RFC] Toolchain based build process