Remove swift-package-manager and support-tools-core dependencies
giginet opened this issue · comments
One small thought, currently all the package contexts were fetched using SPM library API.
Maybe we could have some small tweaks, making Scipio an SPM command plugin. Then we could fetch most package context from command plugin API, without importing SPM as a dependency.
@kemchenj Thank you for your feedback!
I think BuildPlugin's context is very restricted. So I guess we can't construct package graphs.
I'll try later.
I'm planning to use swift package dump-package
instead. This command helps to remove SwiftPM dependencies.
We use SwiftPMDataModel
instead. It's difficult to remove all SwiftPM dependencies.