-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
78 lines (77 loc) · 1.74 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
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
70
71
72
73
74
75
76
77
78
// swift-tools-version: 5.10
import PackageDescription
let package = Package(
name: "AppPackage",
platforms: [.iOS(.v15)],
products: [
.library(
name: "AppFeature",
targets: ["AppFeature"]),
],
dependencies: [
.package(path: "./HTTPClient"),
.package(path: "./ViewHelper"),
.package(url: "https://github.com/stephencelis/SQLite.swift.git", from: "0.15.3")
],
targets: [
.target(
name: "AppFeature",
dependencies: [
"SearchFeature",
"SearchFeatureView"
]
),
.target(
name: "SearchFeature",
dependencies: [
"ApiClientLive",
"RecentSearchesClientLive",
"CombineExt"
]
),
.target(
name: "SearchFeatureView",
dependencies: [
"SearchFeature",
"CombineExt",
.product(name: "ViewHelper", package: "ViewHelper"),
.product(name: "ViewControllerHelper", package: "ViewHelper")
]
),
.target(
name: "ApiClient",
dependencies: [
.product(name: "HTTPClientLive", package: "HTTPClient")
]
),
.target(
name: "ApiClientLive",
dependencies: [
"ApiClient",
.product(
name: "HTTPClientLive",
package: "HTTPClient"
)
],
swiftSettings: [
.enableExperimentalFeature("StrictConcurrency")
]
),
.target(
name: "RecentSearchesClient",
dependencies: [
.product(name: "SQLite", package: "sqlite.swift")
]
),
.target(
name: "RecentSearchesClientLive",
dependencies: [
"RecentSearchesClient"
]
),
.target(name: "CombineExt"),
.testTarget(
name: "SearchFeatureTests",
dependencies: ["SearchFeature"]),
]
)