-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPackage.swift
41 lines (39 loc) · 1.41 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
// swift-tools-version:5.3
// The swift-tools-version declares the minimum version of Swift required to build this package.
// https://github.com./apple/swift-package-manager/blob/master/Documentation/PackageDescription.md
import PackageDescription
let package = Package(
name: "Wallet",
platforms: [
.macOS(.v10_15),
],
products: [
.executable(
name: "wallet",
targets: ["wallet"]),
.library(
name: "WalletKit",
targets: ["WalletKit"]),
],
dependencies: [
.package(url: "https://github.com./apple/swift-argument-parser", .upToNextMajor(from: "0.0.6")),
.package(url: "https://github.com./apple/swift-crypto", .upToNextMajor(from: "1.0.1")),
.package(url: "https://github.com./Quick/Quick", .upToNextMajor(from: "3.0.0")),
.package(url: "https://github.com./Quick/Nimble", .upToNextMajor(from: "9.0.0")),
],
targets: [
.target(
name: "wallet",
dependencies: ["WalletKit"]),
.target(
name: "WalletKit",
dependencies: [
.product(name: "ArgumentParser", package: "swift-argument-parser"),
.product(name: "Crypto", package: "swift-crypto")
]),
.testTarget(
name: "WalletKitTests",
dependencies: ["WalletKit", "Quick", "Nimble"]),
],
swiftLanguageVersions: [.v5]
)