Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DocC #103

Merged
merged 3 commits into from
Feb 9, 2024
Merged

DocC #103

Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's better not to set a Swift version here unless you specifically want to stay on 5.9. We always use the latest released Version for docs if you leave this line off.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Docs didn't generate, there must be something else up though - I'll investigate.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.


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