Skip to content

Commit c6f08fd

Browse files
authored
Merge pull request #250 from hartbit/spmbuildcore
Import the new SwiftPM SPMBuildCore target
2 parents f9f219c + e75f8e9 commit c6f08fd

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

Sources/SKSwiftPMWorkspace/SwiftPMWorkspace.swift

+4-1
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13+
#if canImport(SPMBuildCore)
14+
import SPMBuildCore
15+
#endif
1316
import Build
1417
import BuildServerProtocol
1518
import LanguageServerProtocol
@@ -181,7 +184,7 @@ extension SwiftPMWorkspace {
181184
}
182185
}
183186

184-
extension SwiftPMWorkspace: BuildSystem {
187+
extension SwiftPMWorkspace: SKCore.BuildSystem {
185188

186189
public var buildPath: AbsolutePath {
187190
return buildParameters.buildPath

Tests/SKSwiftPMWorkspaceTests/SwiftPMWorkspaceTests.swift

+3
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,9 @@
1010
//
1111
//===----------------------------------------------------------------------===//
1212

13+
#if canImport(SPMBuildCore)
14+
import SPMBuildCore
15+
#endif
1316
import Build
1417
import LanguageServerProtocol
1518
import SKCore

0 commit comments

Comments
 (0)