File tree 7 files changed +7
-49
lines changed
7 files changed +7
-49
lines changed Original file line number Diff line number Diff line change @@ -5,15 +5,9 @@ import PackageDescription
5
5
// needed for CI to test the local version of the library
6
6
import struct Foundation. URL
7
7
8
- #if os(macOS)
9
- let platforms : [ PackageDescription . SupportedPlatform ] ? = [ . macOS( . v15) ]
10
- #else
11
- let platforms : [ PackageDescription . SupportedPlatform ] ? = nil
12
- #endif
13
-
14
8
let package = Package (
15
9
name: " swift-aws-lambda-runtime-example " ,
16
- platforms: platforms ,
10
+ platforms: [ . macOS ( . v15 ) ] ,
17
11
products: [
18
12
. executable( name: " APIGatewayLambda " , targets: [ " APIGatewayLambda " ] )
19
13
] ,
Original file line number Diff line number Diff line change @@ -5,15 +5,9 @@ import PackageDescription
5
5
// needed for CI to test the local version of the library
6
6
import struct Foundation. URL
7
7
8
- #if os(macOS)
9
- let platforms : [ PackageDescription . SupportedPlatform ] ? = [ . macOS( . v15) ]
10
- #else
11
- let platforms : [ PackageDescription . SupportedPlatform ] ? = nil
12
- #endif
13
-
14
8
let package = Package (
15
9
name: " swift-aws-lambda-runtime-example " ,
16
- platforms: platforms ,
10
+ platforms: [ . macOS ( . v15 ) ] ,
17
11
products: [
18
12
. executable( name: " BackgroundTasks " , targets: [ " BackgroundTasks " ] )
19
13
] ,
Original file line number Diff line number Diff line change @@ -5,15 +5,9 @@ import PackageDescription
5
5
// needed for CI to test the local version of the library
6
6
import struct Foundation. URL
7
7
8
- #if os(macOS)
9
- let platforms : [ PackageDescription . SupportedPlatform ] ? = [ . macOS( . v15) ]
10
- #else
11
- let platforms : [ PackageDescription . SupportedPlatform ] ? = nil
12
- #endif
13
-
14
8
let package = Package (
15
9
name: " swift-aws-lambda-runtime-example " ,
16
- platforms: platforms ,
10
+ platforms: [ . macOS ( . v15 ) ] ,
17
11
products: [
18
12
. executable( name: " APIGatewayLambda " , targets: [ " APIGatewayLambda " ] )
19
13
] ,
Original file line number Diff line number Diff line change @@ -5,15 +5,9 @@ import PackageDescription
5
5
// needed for CI to test the local version of the library
6
6
import struct Foundation. URL
7
7
8
- #if os(macOS)
9
- let platforms : [ PackageDescription . SupportedPlatform ] ? = [ . macOS( . v15) ]
10
- #else
11
- let platforms : [ PackageDescription . SupportedPlatform ] ? = nil
12
- #endif
13
-
14
8
let package = Package (
15
9
name: " swift-aws-lambda-runtime-example " ,
16
- platforms: platforms ,
10
+ platforms: [ . macOS ( . v15 ) ] ,
17
11
products: [
18
12
. executable( name: " MyLambda " , targets: [ " MyLambda " ] )
19
13
] ,
Original file line number Diff line number Diff line change @@ -5,15 +5,9 @@ import PackageDescription
5
5
// needed for CI to test the local version of the library
6
6
import struct Foundation. URL
7
7
8
- #if os(macOS)
9
- let platforms : [ PackageDescription . SupportedPlatform ] ? = [ . macOS( . v15) ]
10
- #else
11
- let platforms : [ PackageDescription . SupportedPlatform ] ? = nil
12
- #endif
13
-
14
8
let package = Package (
15
9
name: " AWSSDKExample " ,
16
- platforms: platforms ,
10
+ platforms: [ . macOS ( . v15 ) ] ,
17
11
products: [
18
12
. executable( name: " AWSSDKExample " , targets: [ " AWSSDKExample " ] )
19
13
] ,
Original file line number Diff line number Diff line change @@ -5,15 +5,9 @@ import PackageDescription
5
5
// needed for CI to test the local version of the library
6
6
import struct Foundation. URL
7
7
8
- #if os(macOS)
9
- let platforms : [ PackageDescription . SupportedPlatform ] ? = [ . macOS( . v15) ]
10
- #else
11
- let platforms : [ PackageDescription . SupportedPlatform ] ? = nil
12
- #endif
13
-
14
8
let package = Package (
15
9
name: " SotoExample " ,
16
- platforms: platforms ,
10
+ platforms: [ . macOS ( . v15 ) ] ,
17
11
products: [
18
12
. executable( name: " SotoExample " , targets: [ " SotoExample " ] )
19
13
] ,
Original file line number Diff line number Diff line change @@ -5,15 +5,9 @@ import PackageDescription
5
5
// needed for CI to test the local version of the library
6
6
import struct Foundation. URL
7
7
8
- #if os(macOS)
9
- let platforms : [ PackageDescription . SupportedPlatform ] ? = [ . macOS( . v15) ]
10
- #else
11
- let platforms : [ PackageDescription . SupportedPlatform ] ? = nil
12
- #endif
13
-
14
8
let package = Package (
15
9
name: " swift-aws-lambda-runtime-example " ,
16
- platforms: platforms ,
10
+ platforms: [ . macOS ( . v15 ) ] ,
17
11
products: [
18
12
. executable( name: " StreamingNumbers " , targets: [ " StreamingNumbers " ] )
19
13
] ,
You can’t perform that action at this time.
0 commit comments