Skip to content

Commit

Permalink
DocC (#103)
Browse files Browse the repository at this point in the history
* DocC

* wip
  • Loading branch information
stephencelis authored Feb 9, 2024
1 parent aedcf6f commit cc39088
Show file tree
Hide file tree
Showing 8 changed files with 524 additions and 37 deletions.
33 changes: 0 additions & 33 deletions .github/workflows/documentation.yml

This file was deleted.

14 changes: 14 additions & 0 deletions .swi.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: 1
builder:
configs:
- platform: ios
scheme: CustomDump
- platform: macos-xcodebuild
scheme: CustomDump
- platform: tvos
scheme: CustomDump
- platform: watchos
scheme: CustomDump
- documentation_targets: [CustomDump]
swift_version: 5.9

36 changes: 36 additions & 0 deletions [email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
// swift-tools-version:5.5

import PackageDescription

let package = Package(
name: "swift-custom-dump",
platforms: [
.iOS(.v13),
.macOS(.v10_15),
.tvOS(.v13),
.watchOS(.v6),
],
products: [
.library(
name: "CustomDump",
targets: ["CustomDump"]
)
],
dependencies: [
.package(url: "https://github.com/pointfreeco/xctest-dynamic-overlay", from: "1.0.0")
],
targets: [
.target(
name: "CustomDump",
dependencies: [
.product(name: "XCTestDynamicOverlay", package: "xctest-dynamic-overlay")
]
),
.testTarget(
name: "CustomDumpTests",
dependencies: [
"CustomDump"
]
),
]
)
4 changes: 2 additions & 2 deletions Sources/CustomDump/Conformances/CoreLocation.swift
Original file line number Diff line number Diff line change
Expand Up @@ -80,8 +80,8 @@
#if compiler(>=5.9)
@available(iOS 7, macOS 10.15, *)
@available(tvOS, unavailable)
@available(watchOS, unavailable)
@available(visionOS, unavailable)
@available(watchOS, unavailable)
extension CLProximity: CustomDumpStringConvertible {
public var customDumpDescription: String {
switch self {
Expand Down Expand Up @@ -123,8 +123,8 @@
#if compiler(>=5.9)
@available(iOS 7, macOS 10, *)
@available(tvOS, unavailable)
@available(watchOS, unavailable)
@available(visionOS, unavailable)
@available(watchOS, unavailable)
extension CLRegionState: CustomDumpStringConvertible {
public var customDumpDescription: String {
switch self {
Expand Down
Loading

0 comments on commit cc39088

Please sign in to comment.