Skip to content

Commit b107441

Browse files
committed
feat: Support Swift 6.1
1 parent 869bfe7 commit b107441

File tree

2 files changed

+74
-1
lines changed

2 files changed

+74
-1
lines changed

Package@swift-6.1.swift

Lines changed: 73 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,73 @@
1+
// swift-tools-version: 6.1
2+
3+
import PackageDescription
4+
5+
let package = Package(
6+
name: "swift-foundation-extensions",
7+
platforms: [
8+
.macOS(.v10_15),
9+
.macCatalyst(.v13),
10+
.iOS(.v13),
11+
.tvOS(.v13),
12+
.watchOS(.v6)
13+
],
14+
products: [
15+
.library(
16+
name: "FoundationExtensions",
17+
targets: ["FoundationExtensions"]
18+
),
19+
.library(
20+
name: "FoundationExtensionsMacros",
21+
targets: ["FoundationExtensionsMacros"]
22+
),
23+
],
24+
dependencies: [
25+
.package(
26+
url: "https://github.com/capturecontext/swift-resettable.git",
27+
.upToNextMinor(from: "0.1.0")
28+
),
29+
.package(
30+
url: "https://github.com/capturecontext/swift-equated.git",
31+
.upToNextMinor(from: "0.0.1")
32+
),
33+
.package(
34+
url: "https://github.com/capturecontext/swift-associated-objects.git",
35+
.upToNextMinor(from: "0.1.0")
36+
)
37+
],
38+
targets: [
39+
.target(
40+
name: "FoundationExtensions",
41+
dependencies: [
42+
.product(
43+
name: "AssociatedObjects",
44+
package: "swift-associated-objects"
45+
),
46+
.product(
47+
name: "Resettable",
48+
package: "swift-resettable"
49+
),
50+
.product(
51+
name: "Equated",
52+
package: "swift-equated"
53+
),
54+
]
55+
),
56+
.target(
57+
name: "FoundationExtensionsMacros",
58+
dependencies: [
59+
.target(name: "FoundationExtensions"),
60+
.product(
61+
name: "AssociatedObjectsMacros",
62+
package: "swift-associated-objects"
63+
),
64+
]
65+
),
66+
.testTarget(
67+
name: "FoundationExtensionsTests",
68+
dependencies: [
69+
.target(name: "FoundationExtensions"),
70+
]
71+
),
72+
]
73+
)

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# swift-foundation-extensions
22

3-
[![CI](https://github.com/CaptureContext/swift-foundation-extensions/actions/workflows/ci.yml/badge.svg)](https://github.com/CaptureContext/swift-foundation-extensions/actions/workflows/ci.yml) [![SwiftPM 6.2](https://img.shields.io/badge/Swift-6.2-ED523F.svg?style=flat)](https://swift.org/download/) ![Platforms](https://img.shields.io/badge/Platforms-iOS_13_|_macOS_10.15_|_tvOS_14_|_watchOS_7-ED523F.svg?style=flat) [![@capture_context](https://img.shields.io/badge/contact-@capturecontext-1DA1F2.svg?style=flat&logo=twitter)](https://twitter.com/capture_context)
3+
[![CI](https://github.com/CaptureContext/swift-foundation-extensions/actions/workflows/ci.yml/badge.svg)](https://github.com/CaptureContext/swift-foundation-extensions/actions/workflows/ci.yml) [![SwiftPM 6.2](https://img.shields.io/badge/Swift-6.2_|_6.1-ED523F.svg?style=flat)](https://swift.org/download/) ![Platforms](https://img.shields.io/badge/Platforms-iOS_13_|_macOS_10.15_|_tvOS_14_|_watchOS_7-ED523F.svg?style=flat) [![@capture_context](https://img.shields.io/badge/contact-@capturecontext-1DA1F2.svg?style=flat&logo=twitter)](https://twitter.com/capture_context)
44

55
Standard extensions for Foundation framework
66

0 commit comments

Comments
 (0)