Migrate BuildSystem.prepare to a BSP request

This commit is contained in:
Alex Hoppen
2024-08-24 14:06:24 -07:00
parent 7e3f453a7c
commit 3a118980b4
16 changed files with 176 additions and 31 deletions

View File

@@ -128,10 +128,7 @@ package protocol BuiltInBuildSystem: AnyObject, Sendable {
/// Prepare the given targets for indexing and semantic functionality. This should build all swift modules of target
/// dependencies.
func prepare(
targets: [BuildTargetIdentifier],
logMessageToIndexLog: @escaping @Sendable (_ taskID: IndexTaskID, _ message: String) -> Void
) async throws
func prepare(request: PrepareTargetsRequest) async throws -> VoidResponse
/// If the build system has knowledge about the language that this document should be compiled in, return it.
///