Trying to make it possible to share createBuildOperation between multiple implementations of SPMCoreBuild.BuildSystem in preparation to introduce an operation that would build plugin tools.
Modifications:
Rename BuildOperationBuildSystemDelegateHandler into LLBuildProgressTracker which is a more neutral name that could be used by different llbuild operations if necessary.
Integrate commandFailureHandler into the progress tracker
Make BuildOperation.createBuildSystem stateless and use a single member to set both a new build system and its tracker.
Result:
The change it make it much easier to move createBuildSystem out of BuildOperation and into SPMCoreBuild.BuildSystem itself.
Motivation:
Trying to make it possible to share
createBuildOperation
between multiple implementations ofSPMCoreBuild.BuildSystem
in preparation to introduce an operation that would build plugin tools.Modifications:
BuildOperationBuildSystemDelegateHandler
intoLLBuildProgressTracker
which is a more neutral name that could be used by different llbuild operations if necessary.commandFailureHandler
into the progress trackerBuildOperation.createBuildSystem
stateless and use a single member to set both a new build system and its tracker.Result:
The change it make it much easier to move
createBuildSystem
out ofBuildOperation
and intoSPMCoreBuild.BuildSystem
itself.