-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathPackage.swift
53 lines (51 loc) · 2.34 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
53
// swift-tools-version:4.0
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "Veldspar",
products: [
.library (name: "VeldsparCore", targets: ["VeldsparCore"]),
.executable (name: "veldspard", targets: ["veldspard"]),
.executable (name: "miner", targets: ["miner"]),
.executable (name: "simplewallet", targets: ["simplewallet"]),
.executable (name: "paperwallet", targets: ["paperwallet"]),
.executable (name: "onlinewallet", targets: ["onlinewallet"]),
],
dependencies: [
.package(url: "https://github.com/VeldsparCrypto/CSQlite.git", .exact("1.0.8")),
.package(url: "https://github.com/krzyzanowskim/CryptoSwift.git", .exact("0.15.0")),
.package(url: "https://github.com/VeldsparCrypto/Ed25519.git", .exact("0.0.4")),
.package(url: "https://github.com/VeldsparCrypto/SWSQLite.git", .exact("1.0.30")),
.package(url: "https://github.com/VeldsparCrypto/swifter.git", .exact("1.5.0")),
.package(url: "https://github.com/onevcat/Rainbow.git", .exact("3.1.5")),
],
targets: [
.target(
name: "veldspard",
dependencies: ["CryptoSwift","Swifter","VeldsparCore","Ed25519","SWSQLite","Rainbow"],
path: "./Sources/daemon"),
.target(
name: "paperwallet",
dependencies: ["CryptoSwift","VeldsparCore","Ed25519","SWSQLite","Rainbow","Swifter"],
path: "./Sources/paperwallet"),
.target(
name: "onlinewallet",
dependencies: ["CryptoSwift","VeldsparCore","Ed25519","SWSQLite","Rainbow","Swifter"],
path: "./Sources/onlinewallet"),
.target(
name: "miner",
dependencies: ["CryptoSwift","SWSQLite","VeldsparCore","Ed25519"],
path: "./Sources/miner"),
.target(
name: "simplewallet",
dependencies: ["Rainbow","CryptoSwift","SWSQLite","VeldsparCore","Ed25519"],
path: "./Sources/simplewallet"),
.target(
name: "VeldsparCore",
dependencies: ["CryptoSwift","Ed25519"],
path: "./Sources/core"),
],
swiftLanguageVersions: [
4
]
)