mirror of
https://github.com/apple/sourcekit-lsp.git
synced 2026-03-02 18:23:24 +01:00
Generalize BuildSystem.testFiles to return all source files in a project
This commit is contained in:
@@ -317,14 +317,14 @@ extension BuildServerBuildSystem: BuildSystem {
|
||||
return .unhandled
|
||||
}
|
||||
|
||||
public func testFiles() async -> [DocumentURI] {
|
||||
// BuildServerBuildSystem does not support syntactic test discovery
|
||||
public func sourceFiles() async -> [SourceFileInfo] {
|
||||
// BuildServerBuildSystem does not support syntactic test discovery or background indexing.
|
||||
// (https://github.com/apple/sourcekit-lsp/issues/1173).
|
||||
return []
|
||||
}
|
||||
|
||||
public func addTestFilesDidChangeCallback(_ callback: @escaping () async -> Void) {
|
||||
// BuildServerBuildSystem does not support syntactic test discovery
|
||||
public func addSourceFilesDidChangeCallback(_ callback: @escaping () async -> Void) {
|
||||
// BuildServerBuildSystem does not support syntactic test discovery or background indexing.
|
||||
// (https://github.com/apple/sourcekit-lsp/issues/1173).
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user