mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-03-02 18:23:24 +01:00
Migrate BuildSystem.prepare to a BSP request
This commit is contained in:
@@ -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.
|
||||
///
|
||||
|
||||
Reference in New Issue
Block a user