File tree 4 files changed +4
-28
lines changed
4 files changed +4
-28
lines changed Original file line number Diff line number Diff line change @@ -6,15 +6,9 @@ import PackageDescription
6
6
import class Foundation. ProcessInfo
7
7
import struct Foundation. URL
8
8
9
- #if os(macOS)
10
- let platforms : [ PackageDescription . SupportedPlatform ] ? = [ . macOS( . v15) ]
11
- #else
12
- let platforms : [ PackageDescription . SupportedPlatform ] ? = nil
13
- #endif
14
-
15
9
let package = Package (
16
10
name: " swift-aws-lambda-runtime-example " ,
17
- platforms: platforms ,
11
+ platforms: [ . macOS ( . v15 ) ] ,
18
12
products: [
19
13
. executable( name: " APIGatewayLambda " , targets: [ " APIGatewayLambda " ] )
20
14
] ,
Original file line number Diff line number Diff line change @@ -6,15 +6,9 @@ import PackageDescription
6
6
import class Foundation. ProcessInfo
7
7
import struct Foundation. URL
8
8
9
- #if os(macOS)
10
- let platforms : [ PackageDescription . SupportedPlatform ] ? = [ . macOS( . v15) ]
11
- #else
12
- let platforms : [ PackageDescription . SupportedPlatform ] ? = nil
13
- #endif
14
-
15
9
let package = Package (
16
10
name: " AWSSDKExample " ,
17
- platforms: platforms ,
11
+ platforms: [ . macOS ( . v15 ) ] ,
18
12
products: [
19
13
. executable( name: " AWSSDKExample " , targets: [ " AWSSDKExample " ] )
20
14
] ,
Original file line number Diff line number Diff line change @@ -6,15 +6,9 @@ import PackageDescription
6
6
import class Foundation. ProcessInfo
7
7
import struct Foundation. URL
8
8
9
- #if os(macOS)
10
- let platforms : [ PackageDescription . SupportedPlatform ] ? = [ . macOS( . v15) ]
11
- #else
12
- let platforms : [ PackageDescription . SupportedPlatform ] ? = nil
13
- #endif
14
-
15
9
let package = Package (
16
10
name: " swift-aws-lambda-runtime-example " ,
17
- platforms: platforms ,
11
+ platforms: [ . macOS ( . v15 ) ] ,
18
12
products: [
19
13
. executable( name: " MyLambda " , targets: [ " MyLambda " ] )
20
14
] ,
Original file line number Diff line number Diff line change @@ -6,15 +6,9 @@ import PackageDescription
6
6
import class Foundation. ProcessInfo
7
7
import struct Foundation. URL
8
8
9
- #if os(macOS)
10
- let platforms : [ PackageDescription . SupportedPlatform ] ? = [ . macOS( . v15) ]
11
- #else
12
- let platforms : [ PackageDescription . SupportedPlatform ] ? = nil
13
- #endif
14
-
15
9
let package = Package (
16
10
name: " SotoLambdaExample " ,
17
- platforms: platforms ,
11
+ platforms: [ . macOS ( . v15 ) ] ,
18
12
products: [
19
13
. executable( name: " SotoLambdaExample " , targets: [ " SotoExample " ] )
20
14
] ,
You can’t perform that action at this time.
0 commit comments