-
Notifications
You must be signed in to change notification settings - Fork 59
/
Package.swift
49 lines (46 loc) · 1.45 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
// swift-tools-version:5.7.1
import PackageDescription
let package = Package(
name: "SolanaSwift",
platforms: [
.macOS(.v10_15),
.iOS(.v15),
.tvOS(.v11),
.watchOS(.v4),
],
products: [
.library(
name: "SolanaSwift",
targets: ["SolanaSwift"]
),
],
dependencies: [
// Main depedencies
.package(url: "https://github.com/Boilertalk/secp256k1.swift.git", from: "0.1.0"),
.package(url: "https://github.com/bitmark-inc/tweetnacl-swiftwrap.git", from: "1.0.2"),
.package(url: "https://github.com/bigearsenal/task-retrying-swift.git", from: "2.0.0"),
// Docs generator
.package(url: "https://github.com/apple/swift-docc-plugin", from: "1.0.0"),
],
targets: [
.target(
name: "SolanaSwift",
dependencies: [
.product(name: "secp256k1", package: "secp256k1.swift"),
.product(name: "TweetNacl", package: "tweetnacl-swiftwrap"),
.product(name: "Task_retrying", package: "task-retrying-swift"),
]
),
.testTarget(
name: "SolanaSwiftUnitTests",
dependencies: ["SolanaSwift"],
resources: [
.process("Resources/get_all_tokens_info.json"),
]
),
.testTarget(
name: "SolanaSwiftIntegrationTests",
dependencies: ["SolanaSwift"]
),
]
)