Skip to content

Commit 7dd6c85

Browse files
committed
Update Package.swift and .spi.yml to make them match
Package.swift and `.spi.yml` have drifted apart and didn’t actually match anymore. The targets declared in `.spi.yml` should match the libraries declared in the package manifest. To fix this, update `.spi.yml` and also declare `SwiftBasicFormat` as a library in `Package.swift`. BasicFormat is being used in sufficently many places by now that we can’t really consider it an implementation detail of SwiftSyntax anymore. rdar://108902357
1 parent 9a4c5e4 commit 7dd6c85

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

.spi.yml

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,12 +8,15 @@ builder:
88
- documentation_targets:
99
# First item in the list is the "landing" (default) target
1010
- SwiftSyntax
11-
- IDEUtils
1211
- SwiftBasicFormat
12+
- SwiftCompilerPlugin
13+
- SwiftCompilerPluginMessageHandling
1314
- SwiftDiagnostics
15+
- SwiftIDEUtils
1416
- SwiftOperators
1517
- SwiftParser
1618
- SwiftParserDiagnostics
1719
- SwiftRefactor
1820
- SwiftSyntaxBuilder
19-
- SwiftSyntaxParser
21+
- SwiftSyntaxMacros
22+
- SwiftSyntaxMacrosTestSupport

Package.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ let package = Package(
4545
.macCatalyst(.v13),
4646
],
4747
products: [
48+
.library(name: "SwiftBasicFormat", targets: ["SwiftBasicFormat"]),
4849
.library(name: "SwiftCompilerPlugin", targets: ["SwiftCompilerPlugin"]),
4950
.library(name: "SwiftCompilerPluginMessageHandling", targets: ["SwiftCompilerPluginMessageHandling"]),
5051
.library(name: "SwiftDiagnostics", targets: ["SwiftDiagnostics"]),

0 commit comments

Comments
 (0)