Skip to content

Commit

Permalink
Swift 6
Browse files Browse the repository at this point in the history
  • Loading branch information
Supereg committed Oct 30, 2024
1 parent 6096237 commit eceb3e2
Showing 1 changed file with 2 additions and 18 deletions.
20 changes: 2 additions & 18 deletions Package.swift
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
// swift-tools-version:5.9
// swift-tools-version:6.0

//
// This source file is part of the Stanford Spezi open-source project
Expand All @@ -12,13 +12,6 @@ import class Foundation.ProcessInfo
import PackageDescription


#if swift(<6)
let swiftConcurrency: SwiftSetting = .enableExperimentalFeature("StrictConcurrency")
#else
let swiftConcurrency: SwiftSetting = .enableUpcomingFeature("StrictConcurrency")
#endif


let package = Package(
name: "SpeziStorage",
platforms: [
Expand All @@ -32,7 +25,7 @@ let package = Package(
],
dependencies: [
.package(url: "https://github.com/StanfordSpezi/Spezi", from: "1.7.3"),
.package(url: "https://github.com/StanfordSpezi/SpeziFoundation", from: "2.0.0-beta.2"),
.package(url: "https://github.com/StanfordSpezi/SpeziFoundation", from: "2.0.0"),
.package(url: "https://github.com/StanfordBDHG/XCTRuntimeAssertions", from: "1.1.1")
] + swiftLintPackage(),
targets: [
Expand All @@ -43,9 +36,6 @@ let package = Package(
.product(name: "SpeziFoundation", package: "SpeziFoundation"),
.target(name: "SpeziSecureStorage")
],
swiftSettings: [
swiftConcurrency
],
plugins: [] + swiftLintPlugin()
),
.testTarget(
Expand All @@ -54,9 +44,6 @@ let package = Package(
.target(name: "SpeziLocalStorage"),
.product(name: "XCTSpezi", package: "Spezi")
],
swiftSettings: [
swiftConcurrency
],
plugins: [] + swiftLintPlugin()
),
.target(
Expand All @@ -65,9 +52,6 @@ let package = Package(
.product(name: "Spezi", package: "Spezi"),
.product(name: "XCTRuntimeAssertions", package: "XCTRuntimeAssertions")
],
swiftSettings: [
swiftConcurrency
],
plugins: [] + swiftLintPlugin()
)
]
Expand Down

0 comments on commit eceb3e2

Please sign in to comment.