-
Notifications
You must be signed in to change notification settings - Fork 1
/
Package.swift
33 lines (32 loc) · 1.2 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
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "tss-client-swift",
platforms: [.iOS(.v13), .macOS(.v10_15)],
products: [
.library(
name: "tssClientSwift",
targets: ["tssClientSwift"]),
],
dependencies: [
.package(name: "BigInt", url: "https://github.com/attaswift/BigInt.git", from: "5.3.0"),
.package(name: "curvelib.swift", url: "https://github.com/tkey/curvelib.swift", from: "1.0.1"),
.package(name: "SocketIO", url: "https://github.com/socketio/socket.io-client-swift", .upToNextMajor(from: "16.0.1")),
],
targets: [
.binaryTarget(name: "libdkls",
path: "Sources/libdkls/libdkls.xcframework"
),
.target(name: "dkls",
dependencies: ["libdkls"],
path: "Sources/libdkls"
),
.target(
name: "tssClientSwift",
dependencies: ["BigInt", .product(name: "curveSecp256k1", package: "curvelib.swift"), "SocketIO", "dkls"],
path: "Sources/tssClientSwift"),
.testTarget(
name: "tss-client-swiftTests",
dependencies: ["tssClientSwift", "BigInt"]),
]
)