From 752c12b8bba89dcaecc42d2b2917a369d3eb0612 Mon Sep 17 00:00:00 2001 From: Joe Heck Date: Wed, 17 Jan 2024 12:23:23 -0800 Subject: [PATCH] experimenting with dependency updates --- Package.resolved | 8 ++++---- Package.swift | 9 +++++++-- 2 files changed, 11 insertions(+), 6 deletions(-) diff --git a/Package.resolved b/Package.resolved index fd5960c..c03059f 100644 --- a/Package.resolved +++ b/Package.resolved @@ -5,8 +5,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-argument-parser", "state" : { - "revision" : "fee6933f37fde9a5e12a1e4aeaa93fe60116ff2a", - "version" : "1.2.2" + "revision" : "c8ed701b513cf5177118a175d85fbbbcd707ab41", + "version" : "1.3.0" } }, { @@ -23,8 +23,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/apple/swift-docc-plugin", "state" : { - "revision" : "9b1258905c21fc1b97bf03d1b4ca12c4ec4e5fda", - "version" : "1.2.0" + "revision" : "26ac5758409154cc448d7ab82389c520fa8a8247", + "version" : "1.3.0" } }, { diff --git a/Package.swift b/Package.swift index 7102ac9..7c88986 100644 --- a/Package.swift +++ b/Package.swift @@ -3,8 +3,8 @@ import PackageDescription var globalSwiftSettings: [PackageDescription.SwiftSetting] = [] -#if swift(>=5.7) - #if canImport(Foundation) +#if canImport(Foundation) + #if swift(>=5.7) // && swift(<5.8) import Foundation if ProcessInfo.processInfo.environment["CI"] != nil { globalSwiftSettings.append(.unsafeFlags(["-Xfrontend", "-strict-concurrency=complete"])) @@ -23,6 +23,11 @@ var globalSwiftSettings: [PackageDescription.SwiftSetting] = [] constraints, essentially as they will work in Swift 6. */ } +// #elseif swift(>=5.8) +// import Foundation +// if ProcessInfo.processInfo.environment["CI"] != nil { +// globalSwiftSettings.append(.enableExperimentalFeature("StrictConcurrency")) +// } #endif #endif