mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-03-02 18:23:24 +01:00
Handle filesDependenciesUpdated in BuildSystemManager instead of the build system
The implementation of which file’s dependencies have been updated is common across all build systems and thus build systems shouldn’t need to implement this logic. This also allows us to remove `BuildSystemDelegate`.
This commit is contained in:
@@ -67,14 +67,6 @@ package actor BuildServerBuildSystem: MessageHandler {
|
||||
package private(set) var indexDatabasePath: AbsolutePath?
|
||||
package private(set) var indexStorePath: AbsolutePath?
|
||||
|
||||
/// Delegate to handle any build system events.
|
||||
package weak var delegate: BuildSystemDelegate?
|
||||
|
||||
/// - Note: Needed to set the delegate from a different actor isolation context
|
||||
package func setDelegate(_ delegate: BuildSystemDelegate?) async {
|
||||
self.delegate = delegate
|
||||
}
|
||||
|
||||
package weak var messageHandler: BuiltInBuildSystemMessageHandler?
|
||||
|
||||
/// The build settings that have been received from the build server.
|
||||
|
||||
Reference in New Issue
Block a user