-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
61 lines (59 loc) · 1.21 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
// swift-tools-version:6.0
import PackageDescription
let package = Package(
name: "DewdropAPI",
platforms: [
.iOS(.v15),
.macOS(.v12),
.tvOS(.v15),
.watchOS(.v8)
],
products: [
.library(
name: "DewdropAPI",
targets: [
"DewdropAPI",
"DewdropRESTAPI"
]
),
],
dependencies: [
.package(path: "../.."),
.package(path: "../DewdropService"),
.package(url: "https://github.com/Fleuronic/Catenary", branch: "main"),
.package(url: "https://github.com/Fleuronic/AutoCodable", branch: "main"),
.package(url: "https://github.com/Fleuronic/URL", branch: "main"),
.package(url: "https://github.com/Fleuronic/papyrus", branch: "optional-path-parameters")
],
targets: [
.target(
name: "DewdropAPI",
dependencies: [
"Catenary",
"DewdropRESTAPI"
]
),
.target(
name: "DewdropRESTAPI",
dependencies: [
"DewdropService",
"AutoCodable",
.product(name: "Papyrus", package: "papyrus")
]
),
.testTarget(
name: "DewdropAPITests",
dependencies: [
"DewdropAPI",
"URL"
],
resources: [.process("Fixtures")]
)
],
swiftLanguageModes: [.v6]
)
for target in package.targets {
target.swiftSettings = [
.enableUpcomingFeature("ExistentialAny")
]
}