This repository has been archived by the owner on Dec 12, 2024. It is now read-only.
generated from TBD54566975/tbd-project-template
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Package.swift
52 lines (51 loc) · 1.69 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
// 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: "1.0.0"),
.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"),
.package(url: "https://github.com/WeTransfer/Mocker.git", .upToNextMajor(from: "3.0.1")),
],
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",
.product(name: "Mocker", package: "Mocker"),
]
),
.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")
]
),
]
)