swiftlang / swift-package-manager

The Package Manager for the Swift Programming Language
Apache License 2.0
9.65k stars 1.31k forks source link

[Build/Plugins] Separate plugin tool builds from plugin invocations #7706

Closed xedin closed 5 days ago

xedin commented 6 days ago

An attempt to simplify invokeBuildToolPlugins and avoid having to use a separate BuildOperation to build plugin accessible tools.

Motivation:

This is the first step towards the world where plugins are going to be invoked during BuildPlan construction as the modules/products are discovered.

Modifications:

Result:

Better concern separation for plugins which enabled further refactoring and plugin integration into the build plan.

xedin commented 6 days ago

@swift-ci please test

xedin commented 5 days ago

@swift-ci please test