Skip to content

Commit b687a09

Browse files
fabianfettsebsto
andauthored
[core] Remove platform dance in Package.swift (#400)
Co-authored-by: Sébastien Stormacq <[email protected]>
1 parent 23da9bf commit b687a09

File tree

2 files changed

+2
-8
lines changed

2 files changed

+2
-8
lines changed

NOTICE.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ components that this product depends on.
2727
-------------------------------------------------------------------------------
2828

2929

30-
This product contains a derivation various scripts from SwiftNIO.
30+
This product contains a derivation various code and scripts from SwiftNIO.
3131

3232
* LICENSE (Apache License 2.0):
3333
* https://www.apache.org/licenses/LICENSE-2.0

Package.swift

+1-7
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,9 @@
22

33
import PackageDescription
44

5-
#if os(macOS)
6-
let platforms: [PackageDescription.SupportedPlatform]? = [.macOS(.v15)]
7-
#else
8-
let platforms: [PackageDescription.SupportedPlatform]? = nil
9-
#endif
10-
115
let package = Package(
126
name: "swift-aws-lambda-runtime",
13-
platforms: platforms,
7+
platforms: [.macOS(.v15)],
148
products: [
159
// this library exports `AWSLambdaRuntimeCore` and adds Foundation convenience methods
1610
.library(name: "AWSLambdaRuntime", targets: ["AWSLambdaRuntime"]),

0 commit comments

Comments
 (0)