Repository navigation
Expand file tree
/
Copy pathPackage.swift
More file actions
66 lines (65 loc) · 2.03 KB
/
Copy pathPackage.swift
File metadata and controls
66 lines (65 loc) · 2.03 KB
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
// swift-tools-version: 5.10
import PackageDescription
let package = Package(
name: "ThorChainKit",
platforms: [.iOS(.v13), .macOS(.v10_15)],
products: [
.library(name: "ThorChainKit", targets: ["ThorChainKit"]),
],
dependencies: [
.package(url: "https://github.com/attaswift/BigInt.git", from: "5.0.0"),
.package(
url: "https://github.com/horizontalsystems/HsCryptoKit.Swift.git",
exact: "1.3.2"
),
.package(
url: "https://github.com/horizontalsystems/HdWalletKit.Swift.git",
exact: "1.3.2"
),
.package(
url: "https://github.com/GigaBitcoin/secp256k1.swift.git",
exact: "0.10.0"
),
.package(
url: "https://github.com/groue/GRDB.swift.git",
exact: "6.29.3"
),
.package(
url: "https://github.com/apple/swift-protobuf.git",
exact: "1.33.3"
),
],
targets: [
.target(
name: "ThorChainKit",
dependencies: [
"BigInt",
.product(
name: "HsCryptoKit",
package: "HsCryptoKit.Swift"
),
.product(
name: "HdWalletKit",
package: "HdWalletKit.Swift"
),
.product(name: "secp256k1", package: "secp256k1.swift"),
.product(name: "GRDB", package: "GRDB.swift"),
.product(name: "SwiftProtobuf", package: "swift-protobuf"),
]
),
.testTarget(
name: "ThorChainKitTests",
dependencies: [
"ThorChainKit",
.product(name: "secp256k1", package: "secp256k1.swift"),
],
exclude: ["Fixtures"]
),
.testTarget(
name: "ThorChainKitLiveTests",
dependencies: ["ThorChainKit"],
path: "Tests/ThorChainKitLiveTests",
exclude: ["Fixtures"]
),
]
)