-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
executable file
·56 lines (53 loc) · 1.78 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
// swift-tools-version:5.9
import PackageDescription
let package = Package(
name: "swift-composable-architecture-old",
platforms: [
.iOS(.v13),
],
products: [
.library(
name: "ComposableArchitectureOld",
targets: ["ComposableArchitectureOld"]
)
],
dependencies: [
.package(name: "BenchmarkOld", path: "./Sources/LocalPackages/swift-benchmark-old"),
.package(path: "./Sources/LocalPackages/combine-schedulers-old"),
.package(path: "./Sources/LocalPackages/swift-case-paths-old"),
.package(path: "./Sources/LocalPackages/swift-custom-dump-old"),
.package(path: "./Sources/LocalPackages/swift-identified-collections-old"),
.package(path: "./Sources/LocalPackages/xctest-dynamic-overlay-old"),
],
targets: [
.target(
name: "ComposableArchitectureOld",
dependencies: [
.product(name: "CasePathsOld", package: "swift-case-paths-old"),
.product(name: "CombineSchedulersOld", package: "combine-schedulers-old"),
.product(name: "CustomDumpOld", package: "swift-custom-dump-old"),
.product(name: "IdentifiedCollectionsOld", package: "swift-identified-collections-old"),
.product(name: "XCTestDynamicOverlayOld", package: "xctest-dynamic-overlay-old"),
]
),
.testTarget(
name: "ComposableArchitectureTests",
dependencies: [
"ComposableArchitectureOld"
]
),
.executableTarget(
name: "swift-composable-architecture-benchmark-old",
dependencies: [
"ComposableArchitectureOld",
.product(name: "BenchmarkOld", package: "BenchmarkOld"),
]
),
]
)
#if swift(>=5.6)
// Add the documentation compiler plugin if possible
package.dependencies.append(
.package(path: "./Sources/LocalPackages/swift-docc-plugin-old")
)
#endif