Skip to content

Commit

Permalink
experimenting with dependency updates
Browse files Browse the repository at this point in the history
  • Loading branch information
heckj committed Jan 17, 2024
1 parent 643568d commit 752c12b
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 6 deletions.
8 changes: 4 additions & 4 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
},
{
Expand All @@ -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"
}
},
{
Expand Down
9 changes: 7 additions & 2 deletions Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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"]))
Expand All @@ -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

Expand Down

0 comments on commit 752c12b

Please sign in to comment.