-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy pathPackage.swift
70 lines (59 loc) · 2.37 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
// swift-tools-version:5.7
import PackageDescription
let package = Package(
name: "swift-prelude",
platforms: [
.iOS(.v13),
.macOS(.v10_15),
.tvOS(.v13),
.watchOS(.v6),
],
products: [
.library(name: "Either", targets: ["Either"]),
.library(name: "Frp", targets: ["Frp"]),
.library(name: "Optics", targets: ["Optics"]),
.library(name: "Prelude", targets: ["Prelude"]),
.library(name: "Reader", targets: ["Reader"]),
.library(name: "State", targets: ["State"]),
.library(name: "Tuple", targets: ["Tuple"]),
.library(name: "ValidationSemigroup", targets: ["ValidationSemigroup"]),
.library(name: "ValidationNearSemiring", targets: ["ValidationNearSemiring"]),
.library(name: "Writer", targets: ["Writer"]),
],
dependencies: [
.package(url: "https://github.com/pointfreeco/swift-dependencies", from: "1.0.0"),
],
targets: [
.target(
name: "Either",
dependencies: [
"Prelude",
.product(name: "Dependencies", package: "swift-dependencies"),
]
),
.testTarget(name: "EitherTests", dependencies: ["Either"]),
.target(name: "Frp", dependencies: ["Prelude", "ValidationSemigroup"]),
.testTarget(name: "FrpTests", dependencies: ["Frp"]),
.target(name: "Optics", dependencies: ["Prelude", "Either"]),
.testTarget(name: "OpticsTests", dependencies: ["Optics"]),
.target(
name: "Prelude",
dependencies: [
.product(name: "Dependencies", package: "swift-dependencies"),
]
),
.testTarget(name: "PreludeTests", dependencies: ["Prelude"]),
.target(name: "Reader", dependencies: ["Prelude"]),
.testTarget(name: "ReaderTests", dependencies: ["Reader"]),
.target(name: "State", dependencies: ["Prelude"]),
.testTarget(name: "StateTests", dependencies: ["State"]),
.target(name: "Tuple", dependencies: ["Prelude"]),
.testTarget(name: "TupleTests", dependencies: ["Tuple"]),
.target(name: "ValidationSemigroup", dependencies: ["Prelude"]),
.testTarget(name: "ValidationSemigroupTests", dependencies: ["ValidationSemigroup"]),
.target(name: "ValidationNearSemiring", dependencies: ["Prelude", "Either"]),
.testTarget(name: "ValidationNearSemiringTests", dependencies: ["ValidationNearSemiring"]),
.target(name: "Writer", dependencies: ["Prelude"]),
.testTarget(name: "WriterTests", dependencies: ["Writer"]),
]
)