forked from TBD54566975/tbdex-swift
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
50 lines (49 loc) · 1.54 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
// swift-tools-version: 5.9
import PackageDescription
let package = Package(
name: "tbDEX",
platforms: [
.iOS(.v13),
.macOS(.v10_15),
],
products: [
.library(
name: "tbDEX",
targets: ["tbDEX"]
)
],
dependencies: [
.package(url: "https://github.com/Frizlab/swift-typeid.git", from: "0.3.0"),
.package(url: "https://github.com/flight-school/anycodable.git", from: "0.6.7"),
.package(url: "https://github.com/TBD54566975/web5-swift", exact: "0.0.4"),
.package(url: "https://github.com/allegro/swift-junit.git", from: "2.1.0"),
.package(url: "https://github.com/pointfreeco/swift-custom-dump.git", from: "1.1.2"),
],
targets: [
.target(
name: "tbDEX",
dependencies: [
.product(name: "Web5", package: "web5-swift"),
.product(name: "TypeID", package: "swift-typeid"),
.product(name: "AnyCodable", package: "anycodable"),
]
),
.testTarget(
name: "tbDEXTests",
dependencies: [
"tbDEX"
]
),
.testTarget(
name: "tbDEXTestVectors",
dependencies: [
"tbDEX",
.product(name: "SwiftTestReporter", package: "swift-junit"),
.product(name: "CustomDump", package: "swift-custom-dump"),
],
resources: [
.copy("tbdex-spec/hosted/test-vectors")
]
),
]
)