Skip to content

Commit b46dda2

Browse files
authored
Bump to IssueReporting 2.1 (#172)
* Issue Reporting 2.1 * wip
1 parent 618b1e4 commit b46dda2

3 files changed

Lines changed: 58 additions & 5 deletions

File tree

Package.resolved

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
// swift-tools-version: 6.1
1+
// swift-tools-version: 6.4
22

33
import PackageDescription
44

@@ -21,7 +21,7 @@ let package = Package(
2121
.default(enabledTraits: ["FoundationNetworking"]),
2222
],
2323
dependencies: [
24-
.package(url: "https://github.com/pointfreeco/swift-issue-reporting", from: "2.0.0")
24+
.package(url: "https://github.com/pointfreeco/swift-issue-reporting", from: "2.1.0")
2525
],
2626
targets: [
2727
.target(

Package@swift-6.1.swift

Lines changed: 53 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,53 @@
1+
// swift-tools-version: 6.1
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+
traits: [
20+
"FoundationNetworking",
21+
.default(enabledTraits: ["FoundationNetworking"]),
22+
],
23+
dependencies: [
24+
.package(url: "https://github.com/pointfreeco/xctest-dynamic-overlay", branch: "xcode-26-fix")
25+
],
26+
targets: [
27+
.target(
28+
name: "CustomDump",
29+
dependencies: [
30+
.product(name: "IssueReporting", package: "xctest-dynamic-overlay"),
31+
]
32+
),
33+
.testTarget(
34+
name: "CustomDumpTests",
35+
dependencies: [
36+
"CustomDump",
37+
.product(name: "IssueReportingTestSupport", package: "xctest-dynamic-overlay"),
38+
]
39+
),
40+
]
41+
)
42+
43+
for target in package.targets {
44+
target.swiftSettings = target.swiftSettings ?? []
45+
target.swiftSettings?.append(contentsOf: [
46+
.enableUpcomingFeature("ExistentialAny"),
47+
.enableUpcomingFeature("ImmutableWeakCaptures"),
48+
.enableUpcomingFeature("InferIsolatedConformances"),
49+
.enableUpcomingFeature("InternalImportsByDefault"),
50+
.enableUpcomingFeature("MemberImportVisibility"),
51+
.enableUpcomingFeature("NonisolatedNonsendingByDefault"),
52+
])
53+
}

0 commit comments

Comments
 (0)