Skip to content

Commit 21da871

Browse files
committed
Remove pre-6.0 swift settings
feature/swift-testing
1 parent bd3b3ed commit 21da871

1 file changed

Lines changed: 3 additions & 18 deletions

File tree

Package.swift

Lines changed: 3 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -22,24 +22,21 @@ let package = Package(
2222
targets: [
2323
.target(
2424
name: "CoreDataRepository",
25-
resources: [.process("Resources")],
26-
swiftSettings: .swiftSix
25+
resources: [.process("Resources")]
2726
),
2827
.testTarget(
2928
name: "CoreDataRepositoryTests",
3029
dependencies: [
3130
"CoreDataRepository",
3231
.product(name: "CustomDump", package: "swift-custom-dump"),
3332
"Internal",
34-
],
35-
swiftSettings: .swiftSix
33+
]
3634
),
3735
.target(
3836
name: "Internal",
3937
dependencies: [
4038
"CoreDataRepository",
41-
],
42-
swiftSettings: .swiftSix
39+
]
4340
),
4441
]
4542
)
@@ -66,18 +63,6 @@ extension [SupportedPlatform] {
6663
}
6764
}
6865

69-
extension [SwiftSetting] {
70-
static let swiftSix: Self = [
71-
.enableUpcomingFeature("BareSlashRegexLiterals"),
72-
.enableUpcomingFeature("ConciseMagicFile"),
73-
.enableUpcomingFeature("DeprecateApplicationMain"),
74-
.enableUpcomingFeature("DisableOutwardActorInference"),
75-
.enableUpcomingFeature("ForwardTrailingClosures"),
76-
.enableUpcomingFeature("ImportObjcForwardDeclarations"),
77-
.enableUpcomingFeature("StrictConcurrency"),
78-
]
79-
}
80-
8166
if ProcessInfo.benchmarkingEnabled {
8267
package.dependencies += [
8368
.package(

0 commit comments

Comments
 (0)