Skip to content

Commit c79f0f2

Browse files
authored
Require Swift 5.5+ (#640)
* Require Swift 5.5+ * wip * wip
1 parent 0c2826f commit c79f0f2

File tree

5 files changed

+10
-73
lines changed

5 files changed

+10
-73
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99
- "*"
1010

1111
jobs:
12-
build:
12+
macos:
1313
strategy:
1414
matrix:
1515
xcode:

Package.swift

Lines changed: 9 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -1,33 +1,24 @@
1-
// swift-tools-version:5.0
2-
import Foundation
1+
// swift-tools-version:5.5
32
import PackageDescription
43

54
let package = Package(
65
name: "swift-snapshot-testing",
76
platforms: [
8-
.iOS(.v11),
9-
.macOS(.v10_10),
10-
.tvOS(.v10)
7+
.iOS(.v13),
8+
.macOS(.v10_15),
9+
.tvOS(.v13)
1110
],
1211
products: [
1312
.library(
1413
name: "SnapshotTesting",
15-
targets: ["SnapshotTesting"]),
14+
targets: ["SnapshotTesting"]
15+
),
1616
],
1717
targets: [
18-
.target(
19-
name: "SnapshotTesting",
20-
dependencies: []),
18+
.target(name: "SnapshotTesting"),
2119
.testTarget(
2220
name: "SnapshotTestingTests",
23-
dependencies: ["SnapshotTesting"]),
21+
dependencies: ["SnapshotTesting"]
22+
)
2423
]
2524
)
26-
27-
if ProcessInfo.processInfo.environment.keys.contains("PF_DEVELOP") {
28-
package.dependencies.append(
29-
contentsOf: [
30-
.package(url: "https://github.com/yonaskolb/XcodeGen.git", .exact("2.15.1")),
31-
]
32-
)
33-
}

Sources/Info.plist

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

Tests/Info.plist

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

Tests/LinuxMain.swift

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

0 commit comments

Comments
 (0)