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