From b350d775206e2f9a5624df357d018203c37eff64 Mon Sep 17 00:00:00 2001 From: MahdiBM Date: Thu, 14 Sep 2023 22:59:42 +0330 Subject: [PATCH] update `swift-semver` to beta --- Package.resolved | 4 ++-- Package.swift | 19 ++++++------------- 2 files changed, 8 insertions(+), 15 deletions(-) diff --git a/Package.resolved b/Package.resolved index c2909611..f5cdb974 100644 --- a/Package.resolved +++ b/Package.resolved @@ -301,8 +301,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/gwynne/swift-semver", "state" : { - "revision" : "2be090a869475ce818a8ecc17093505485e3ccb8", - "version" : "0.2.0-alpha.1" + "revision" : "fa2e77b914a6bcca38edc83c1a921893f6e77650", + "version" : "1.0.0-beta.1" } }, { diff --git a/Package.swift b/Package.swift index 9574ef66..027e612b 100644 --- a/Package.swift +++ b/Package.swift @@ -28,22 +28,18 @@ let upcomingFeaturesSwiftSettings: [SwiftSetting] = [ /// `ImportObjcForwardDeclarations` not enabled because it's objc-related. ] -let targetsSwiftSettings: [SwiftSetting] = - upcomingFeaturesSwiftSettings + [ +let targetsSwiftSettings: [SwiftSetting] = upcomingFeaturesSwiftSettings + [ /// https://github.com/apple/swift/issues/67214 .unsafeFlags(["-Xllvm", "-vectorize-slp=false"], .when(platforms: [.linux], configuration: .release)), /// `minimal` / `targeted` / `complete` - /// The only things incompatible with `complete` in Penny are the globally-modifiable vars. .unsafeFlags(["-strict-concurrency=complete"]), ] -let testsSwiftSettings: [SwiftSetting] = - upcomingFeaturesSwiftSettings + [ - /// `minimal` / `targeted` / `complete` - /// The only things incompatible with `complete` in Penny are the globally-modifiable vars. - .unsafeFlags(["-strict-concurrency=targeted"]) - ] +let testsSwiftSettings: [SwiftSetting] = upcomingFeaturesSwiftSettings + [ + /// `minimal` / `targeted` / `complete` + .unsafeFlags(["-strict-concurrency=targeted"]) +] extension PackageDescription.Target { static func lambdaTarget( @@ -91,10 +87,7 @@ let package = Package( .package(url: "https://github.com/soto-project/soto.git", from: "7.0.0-alpha.1"), .package(url: "https://github.com/soto-project/soto-core.git", from: "7.0.0-alpha.2"), .package(url: "https://github.com/apple/swift-markdown.git", branch: "main"), - .package( - url: "https://github.com/gwynne/swift-semver", - from: "0.2.0-alpha.1" - ), + .package(url: "https://github.com/gwynne/swift-semver.git", from: "1.0.0-beta.1"), .package( url: "https://github.com/swift-server/swift-aws-lambda-runtime.git", exact: "1.0.0-alpha.1"