-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
32 lines (30 loc) · 1.39 KB
/
Package.swift
File metadata and controls
32 lines (30 loc) · 1.39 KB
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
// swift-tools-version:5.0
import PackageDescription
let package = Package(
name: "Swiftfire",
platforms: [
.macOS(.v10_12)
],
products: [
.executable(name: "Swiftfire", targets: ["Swiftfire"])
],
dependencies: [
.package(url: "https://github.com/Balancingrock/SwifterLog", from: "2.2.1"),
.package(url: "https://github.com/Balancingrock/SecureSockets", from: "1.1.3"),
.package(url: "https://github.com/Balancingrock/KeyedCache", from: "1.2.2"),
.package(url: "https://github.com/Balancingrock/BRBON", from: "1.3.0"),
.package(url: "https://github.com/Balancingrock/Http", from: "1.2.1")
],
targets: [
.target(name: "Custom", dependencies: ["BRBON"]),
.target(name: "Core", dependencies: ["SwifterLog", "Copenssl", "KeyedCache", "SecureSockets", "BRBON", "Custom", "Http"]),
.target(name: "Functions", dependencies: ["SwifterLog", "Http", "Custom", "Core", "Copenssl", "Services"]),
.target(name: "Services", dependencies: ["SwifterLog", "Http", "Custom", "Core"]),
.target(name: "Admin", dependencies: ["Core", "Copenssl", "Functions", "Services"]),
.target(
name: "Swiftfire",
dependencies: ["SwifterLog", "Admin", "Core", "Functions", "Services", "Custom"],
linkerSettings: [.linkedLibrary("ssl"), .linkedLibrary("crypto")]
)
]
)