Skip to content

Commit 8797f9c

Browse files
committed
Fix Package.swift warnings
Previously Package.swift referred a non-existent CMakeLists.txt file and used old URLs for the swift-tools-support-core repository, leading to the following build warnings: warning: 'sourcekit-lsp': Invalid Exclude '/Users/wilfred/src/sourcekit-lsp/Sources/DocCDocumentation/CMakeLists.txt': File not found. warning: 'swift-package-manager': 'swift-package-manager' dependency on 'https://github.com/swiftlang/swift-tools-support-core.git' conflicts with dependency on 'https://github.com/apple/swift-tools-support-core.git' which has the same identity 'swift-tools-support-core'. this will be escalated to an error in future versions of SwiftPM. warning: 'swift-driver': 'swift-driver' dependency on 'https://github.com/swiftlang/swift-tools-support-core.git' conflicts with dependency on 'https://github.com/apple/swift-tools-support-core.git' which has the same identity 'swift-tools-support-core'. this will be escalated to an error in future versions of SwiftPM.
1 parent 3f1568c commit 8797f9c

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,7 @@ var targets: [Target] = [
229229
.product(name: "SwiftDocC", package: "swift-docc"),
230230
.product(name: "SymbolKit", package: "swift-docc-symbolkit"),
231231
],
232-
exclude: ["CMakeLists.txt"],
232+
exclude: [],
233233
swiftSettings: globalSwiftSettings
234234
),
235235

@@ -807,7 +807,7 @@ var dependencies: [Package.Dependency] {
807807
.package(url: "https://github.com/swiftlang/swift-docc.git", branch: relatedDependenciesBranch),
808808
.package(url: "https://github.com/swiftlang/swift-docc-symbolkit.git", branch: relatedDependenciesBranch),
809809
.package(url: "https://github.com/swiftlang/swift-markdown.git", branch: relatedDependenciesBranch),
810-
.package(url: "https://github.com/apple/swift-tools-support-core.git", branch: relatedDependenciesBranch),
810+
.package(url: "https://github.com/swiftlang/swift-tools-support-core.git", branch: relatedDependenciesBranch),
811811
.package(url: "https://github.com/apple/swift-argument-parser.git", from: "1.4.0"),
812812
.package(url: "https://github.com/swiftlang/swift-syntax.git", branch: relatedDependenciesBranch),
813813
.package(url: "https://github.com/apple/swift-crypto.git", from: "3.0.0"),

0 commit comments

Comments
 (0)