mirror of
https://github.com/swift-server/swift-aws-lambda-runtime.git
synced 2026-06-02 07:27:33 +00:00
2745fe1b5e
Drop support fro Swift 6.0 as per ecosystem's policy to support the last three major versions, now 6.1, 6.2, and 6.3 - CI is updated - all docs, readme, and examples are updated to 6.3 as default
30 lines
962 B
Swift
30 lines
962 B
Swift
// swift-tools-version:6.3
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "MultiSourceAPI",
|
|
platforms: [.macOS(.v15)],
|
|
products: [
|
|
.executable(name: "MultiSourceAPI", targets: ["MultiSourceAPI"])
|
|
],
|
|
dependencies: [
|
|
// For local development, uncomment the line below and comment the remote dependency:
|
|
// .package(name: "swift-aws-lambda-runtime", path: "../.."),
|
|
|
|
.package(url: "https://github.com/awslabs/swift-aws-lambda-runtime.git", from: "2.9.0"),
|
|
|
|
.package(url: "https://github.com/awslabs/swift-aws-lambda-events.git", from: "1.0.0"),
|
|
],
|
|
targets: [
|
|
.executableTarget(
|
|
name: "MultiSourceAPI",
|
|
dependencies: [
|
|
.product(name: "AWSLambdaRuntime", package: "swift-aws-lambda-runtime"),
|
|
.product(name: "AWSLambdaEvents", package: "swift-aws-lambda-events"),
|
|
],
|
|
path: "Sources"
|
|
)
|
|
]
|
|
)
|