mirror of
https://github.com/swift-server/swift-aws-lambda-runtime.git
synced 2026-05-03 07:22:27 +00:00
72865e405a
Fix example dependencies Co-authored-by: Sebastien Stormacq <stormacq@amazon.lu>
32 lines
1.1 KiB
Swift
32 lines
1.1 KiB
Swift
// swift-tools-version: 6.2
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "SotoExample",
|
|
platforms: [.macOS(.v15)],
|
|
products: [
|
|
.executable(name: "SotoExample", targets: ["SotoExample"])
|
|
],
|
|
dependencies: [
|
|
// For local development (default)
|
|
.package(name: "swift-aws-lambda-runtime", path: "../.."),
|
|
|
|
// For standalone usage, comment the line above and uncomment below:
|
|
// .package(url: "https://github.com/awslabs/swift-aws-lambda-runtime.git", from: "2.0.0"),
|
|
|
|
.package(url: "https://github.com/awslabs/swift-aws-lambda-events.git", from: "1.0.0"),
|
|
.package(url: "https://github.com/soto-project/soto.git", from: "7.0.0"),
|
|
],
|
|
targets: [
|
|
.executableTarget(
|
|
name: "SotoExample",
|
|
dependencies: [
|
|
.product(name: "SotoS3", package: "soto"),
|
|
.product(name: "AWSLambdaRuntime", package: "swift-aws-lambda-runtime"),
|
|
.product(name: "AWSLambdaEvents", package: "swift-aws-lambda-events"),
|
|
]
|
|
)
|
|
]
|
|
)
|