-
Notifications
You must be signed in to change notification settings - Fork 3
/
Package.swift
49 lines (45 loc) · 1.84 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
// swift-tools-version:5.4
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "Avalanche",
platforms: [.macOS(.v10_12), .iOS(.v11)],
products: [
.library(
name: "Avalanche",
targets: ["Avalanche"]),
.library(
name: "AvalancheKeychain",
targets: ["AvalancheKeychain"])
],
dependencies: [
.package(name: "JsonRPC", url: "https://github.com/tesseract-one/JsonRPC.swift.git", from: "0.1.0"),
.package(name: "UncommonCrypto", url: "https://github.com/tesseract-one/UncommonCrypto.swift.git", from: "0.1.0"),
.package(name: "Bech32", url: "https://github.com/tesseract-one/Bech32.swift.git", from: "1.1.0"),
.package(name: "BigInt", url: "https://github.com/attaswift/BigInt.git", from: "5.2.0"),
.package(name: "Serializable", url: "https://github.com/tesseract-one/Serializable.swift.git", from: "0.2.0"),
.package(name: "Web3swift", url: "https://github.com/odanylovych/web3swift.git", .branch("signature-provider"))
],
targets: [
.target(
name: "Avalanche",
dependencies: [
"JsonRPC", "BigInt",
"Bech32", "Serializable", "UncommonCrypto",
.product(name: "web3swift", package: "Web3swift")
]),
.target(
name: "AvalancheKeychain",
dependencies: ["Avalanche"],
path: "Sources/Keychain"),
.testTarget(
name: "AvalancheTests",
dependencies: ["Avalanche"]),
.testTarget(
name: "KeychainTests",
dependencies: ["AvalancheKeychain"]),
.testTarget(
name: "IntegrationTests",
dependencies: ["AvalancheKeychain"]),
]
)