Skip to content

Commit cc39088

Browse files
authored
DocC (#103)
* DocC * wip
1 parent aedcf6f commit cc39088

File tree

8 files changed

+524
-37
lines changed

8 files changed

+524
-37
lines changed

.github/workflows/documentation.yml

Lines changed: 0 additions & 33 deletions
This file was deleted.

.swi.yml

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
version: 1
2+
builder:
3+
configs:
4+
- platform: ios
5+
scheme: CustomDump
6+
- platform: macos-xcodebuild
7+
scheme: CustomDump
8+
- platform: tvos
9+
scheme: CustomDump
10+
- platform: watchos
11+
scheme: CustomDump
12+
- documentation_targets: [CustomDump]
13+
swift_version: 5.9
14+

[email protected]

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
// swift-tools-version:5.5
2+
3+
import PackageDescription
4+
5+
let package = Package(
6+
name: "swift-custom-dump",
7+
platforms: [
8+
.iOS(.v13),
9+
.macOS(.v10_15),
10+
.tvOS(.v13),
11+
.watchOS(.v6),
12+
],
13+
products: [
14+
.library(
15+
name: "CustomDump",
16+
targets: ["CustomDump"]
17+
)
18+
],
19+
dependencies: [
20+
.package(url: "https://github.com/pointfreeco/xctest-dynamic-overlay", from: "1.0.0")
21+
],
22+
targets: [
23+
.target(
24+
name: "CustomDump",
25+
dependencies: [
26+
.product(name: "XCTestDynamicOverlay", package: "xctest-dynamic-overlay")
27+
]
28+
),
29+
.testTarget(
30+
name: "CustomDumpTests",
31+
dependencies: [
32+
"CustomDump"
33+
]
34+
),
35+
]
36+
)

Sources/CustomDump/Conformances/CoreLocation.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -80,8 +80,8 @@
8080
#if compiler(>=5.9)
8181
@available(iOS 7, macOS 10.15, *)
8282
@available(tvOS, unavailable)
83-
@available(watchOS, unavailable)
8483
@available(visionOS, unavailable)
84+
@available(watchOS, unavailable)
8585
extension CLProximity: CustomDumpStringConvertible {
8686
public var customDumpDescription: String {
8787
switch self {
@@ -123,8 +123,8 @@
123123
#if compiler(>=5.9)
124124
@available(iOS 7, macOS 10, *)
125125
@available(tvOS, unavailable)
126-
@available(watchOS, unavailable)
127126
@available(visionOS, unavailable)
127+
@available(watchOS, unavailable)
128128
extension CLRegionState: CustomDumpStringConvertible {
129129
public var customDumpDescription: String {
130130
switch self {

0 commit comments

Comments
 (0)