Skip to content

Commit 082cb0e

Browse files
finestructuremluisbrown
authored andcommitted
Add SPI docc config (#1094)
1 parent 7d71570 commit 082cb0e

File tree

2 files changed

+9
-2
lines changed

2 files changed

+9
-2
lines changed

.spi.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@ builder:
55
scheme: ComposableArchitecture
66
- platform: macos-xcodebuild
77
scheme: ComposableArchitecture
8-
- platform: macos-xcodebuild-arm
9-
scheme: ComposableArchitecture
108
- platform: tvos
119
scheme: ComposableArchitecture
1210
- platform: watchos
1311
scheme: ComposableArchitecture_watchOS
12+
- documentation_targets: [ComposableArchitecture]

Package.swift

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,3 +50,11 @@ let package = Package(
5050
),
5151
]
5252
)
53+
54+
55+
#if swift(>=5.6)
56+
// Add the documentation compiler plugin if possible
57+
package.dependencies.append(
58+
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0")
59+
)
60+
#endif

0 commit comments

Comments
 (0)