mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-03-02 18:23:24 +01:00
Implement addSourceFilesDidChangeCallback in BuildSystemManager
This commit is contained in:
@@ -795,10 +795,6 @@ extension SwiftPMBuildSystem: BuildSystemIntegration.BuiltInBuildSystem {
|
||||
}
|
||||
}
|
||||
|
||||
package func addSourceFilesDidChangeCallback(_ callback: @Sendable @escaping () async -> Void) async {
|
||||
testFilesDidChangeCallbacks.append(callback)
|
||||
}
|
||||
|
||||
/// Retrieve settings for a package manifest (Package.swift).
|
||||
private func settings(forPackageManifest path: AbsolutePath) throws -> SourceKitOptionsResponse? {
|
||||
let compilerArgs = workspace.interpreterFlags(for: path.parentDirectory) + [path.pathString]
|
||||
|
||||
Reference in New Issue
Block a user