-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
69 lines (67 loc) · 2.95 KB
/
Package.swift
File metadata and controls
69 lines (67 loc) · 2.95 KB
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
// swift-tools-version: 6.0
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "NZImageApiLambda",
platforms: [.macOS(.v15)],
products: [
.executable(name: "NZImageApiLambda", targets: ["NZImageApiLambda"]),
.executable(name: "CollectionTester", targets: ["CollectionTester"]),
.executable(name: "ImageResolutionChecker", targets: ["ImageResolutionChecker"]),
.executable(name: "CollectionLister", targets: ["CollectionLister"]),
.executable(name: "CollectionReviewer", targets: ["CollectionReviewer"]),
],
dependencies: [
.package(url: "https://github.com/awslabs/swift-aws-lambda-runtime.git", from: "2.3.1"),
.package(url: "https://github.com/swift-server/swift-aws-lambda-events.git", from: "0.4.0"),
.package(url: "https://github.com/Alamofire/Alamofire.git", from: "5.10.0"),
.package(url: "https://github.com/apple/swift-collections.git", from: "1.1.0"),
.package(url: "https://github.com/bradwindy/RichError.git", from: "2.0.0"),
.package(url: "https://github.com/scinfu/SwiftSoup.git", from: "2.7.0"),
],
targets: [
.executableTarget(
name: "NZImageApiLambda",
dependencies: [
.product(name: "AWSLambdaRuntime", package: "swift-aws-lambda-runtime"),
.product(name: "AWSLambdaEvents", package: "swift-aws-lambda-events"),
.product(name: "Alamofire", package: "Alamofire"),
.product(name: "OrderedCollections", package: "swift-collections"),
.product(name: "RichError", package: "RichError"),
.product(name: "SwiftSoup", package: "SwiftSoup")
]
),
.target(
name: "LambdaTesting",
dependencies: [],
path: "Sources/Testing/LambdaTesting"
),
.executableTarget(
name: "CollectionTester",
dependencies: ["LambdaTesting"],
path: "Sources/Testing/CollectionTester"
),
.executableTarget(
name: "ImageResolutionChecker",
dependencies: [
.product(name: "Alamofire", package: "Alamofire"),
.product(name: "OrderedCollections", package: "swift-collections"),
.product(name: "RichError", package: "RichError"),
.product(name: "SwiftSoup", package: "SwiftSoup")
],
path: "Sources/Testing/ImageResolutionChecker"
),
.executableTarget(
name: "CollectionLister",
dependencies: [
.product(name: "Alamofire", package: "Alamofire")
],
path: "Sources/Testing/CollectionLister"
),
.executableTarget(
name: "CollectionReviewer",
dependencies: ["LambdaTesting"],
path: "Sources/Testing/CollectionReviewer"
),
]
)