From b687a09b89470df86464ad7bfda9e758a8601e86 Mon Sep 17 00:00:00 2001 From: Fabian Fett Date: Thu, 19 Dec 2024 20:26:50 +0100 Subject: [PATCH] [core] Remove platform dance in Package.swift (#400) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: Sébastien Stormacq --- NOTICE.txt | 2 +- Package.swift | 8 +------- 2 files changed, 2 insertions(+), 8 deletions(-) diff --git a/NOTICE.txt b/NOTICE.txt index 9631ce9f..0ff96e27 100644 --- a/NOTICE.txt +++ b/NOTICE.txt @@ -27,7 +27,7 @@ components that this product depends on. ------------------------------------------------------------------------------- -This product contains a derivation various scripts from SwiftNIO. +This product contains a derivation various code and scripts from SwiftNIO. * LICENSE (Apache License 2.0): * https://www.apache.org/licenses/LICENSE-2.0 diff --git a/Package.swift b/Package.swift index d26d2042..d2c92fdc 100644 --- a/Package.swift +++ b/Package.swift @@ -2,15 +2,9 @@ import PackageDescription -#if os(macOS) -let platforms: [PackageDescription.SupportedPlatform]? = [.macOS(.v15)] -#else -let platforms: [PackageDescription.SupportedPlatform]? = nil -#endif - let package = Package( name: "swift-aws-lambda-runtime", - platforms: platforms, + platforms: [.macOS(.v15)], products: [ // this library exports `AWSLambdaRuntimeCore` and adds Foundation convenience methods .library(name: "AWSLambdaRuntime", targets: ["AWSLambdaRuntime"]),