-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
40 lines (39 loc) · 1.36 KB
/
Package.swift
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
// swift-tools-version: 5.9.0
import PackageDescription
let package = Package(
name: "ServerlessSwift",
platforms: [
/* intended target is Linux, just dropping this here as
the Package.swift does not support Linux, yet. */
.macOS(.v14),
],
products: [
.executable(name: "ServerlessSwift", targets: ["ServerlessSwift"])
],
dependencies: [
.package(url: "https://github.com/vapor/vapor.git", .upToNextMajor(from: "4.88.0")),
.package(url: "https://github.com/swift-server/swift-aws-lambda-runtime.git", branch: "main"),
.package(url: "https://github.com/swift-server/swift-aws-lambda-events.git", branch: "main"),
],
targets: [
.executableTarget(
name: "ServerlessSwift",
dependencies: [
.product(name: "Vapor", package: "vapor"),
.product(name: "AWSLambdaRuntime", package: "swift-aws-lambda-runtime"),
.product(name: "AWSLambdaEvents", package: "swift-aws-lambda-events"),
],
path: ".",
exclude: [
"Makefile",
"template.yaml",
"sam-launch.sh",
"bootstrap",
"bin/bootstrap",
"LICENSE.txt",
"samconfig.toml",
"README.md"
]
),
]
)