-
-
Notifications
You must be signed in to change notification settings - Fork 41
/
Package.swift
55 lines (53 loc) · 1.98 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
54
55
// swift-tools-version:5.5
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "Citadel",
platforms: [
.macOS(.v12),
.iOS(.v14)
],
products: [
.library(
name: "Citadel",
targets: ["Citadel"]
),
],
dependencies: [
// .package(path: "/Users/joannisorlandos/git/joannis/swift-nio-ssh"),
.package(name: "swift-nio-ssh", url: "https://github.com/Joannis/swift-nio-ssh.git", "0.3.2" ..< "0.4.0"),
.package(url: "https://github.com/apple/swift-log.git", from: "1.0.0"),
.package(url: "https://github.com/attaswift/BigInt.git", from: "5.2.0"),
.package(url: "https://github.com/apple/swift-crypto.git", "1.0.0" ..< "2.1.0"),
.package(url: "https://github.com/mtynior/ColorizeSwift.git", from: "1.5.0"),
],
targets: [
.target(name: "CCitadelBcrypt"),
.target(
name: "Citadel",
dependencies: [
.target(name: "CCitadelBcrypt"),
.product(name: "NIOSSH", package: "swift-nio-ssh"),
.product(name: "Crypto", package: "swift-crypto"),
.product(name: "_CryptoExtras", package: "swift-crypto"),
.product(name: "BigInt", package: "BigInt"),
.product(name: "Logging", package: "swift-log"),
.productItem(name: "ColorizeSwift", package: "ColorizeSwift")
]
),
.executableTarget(
name: "CitadelServerExample",
dependencies: [
"Citadel"
]),
.testTarget(
name: "CitadelTests",
dependencies: [
"Citadel",
.product(name: "NIOSSH", package: "swift-nio-ssh"),
.product(name: "BigInt", package: "BigInt"),
.product(name: "Logging", package: "swift-log"),
]
),
]
)