-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathPackage.swift
58 lines (55 loc) · 1.61 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
56
// swift-tools-version:5.1
import PackageDescription
let package = Package(
name: "Systemator",
products: [
.executable(name: "systemator", targets: ["Systemator"]),
.library(name: "SystemController", targets: ["SystemController"]),
.library(name: "SystemManager", targets: ["SystemManager"]),
.library(name: "SystemClient", targets: ["SystemClient"]),
.library(name: "SystemModel", targets: ["SystemModel"])
],
dependencies: [
.package(url: "https://github.com/vapor/vapor.git", from: "4.0.0-alpha.1.5"),
.package(url: "https://github.com/Einstore/ShellKit.git", from: "1.4.0"),
.package(url: "https://github.com/swift-server/async-http-client.git", from: "1.0.0-alpha.1")
],
targets: [
.target(
name: "SystemModel",
dependencies: []
),
.target(
name: "SystemController",
dependencies: [
"SystemManager",
"Vapor"
]
),
.target(
name: "SystemClient",
dependencies: [
"AsyncHTTPClient",
"SystemModel"
]
),
.target(
name: "SystemManager",
dependencies: [
"CommandKit",
"SystemModel"
]
),
.testTarget(
name: "SystemManagerTests",
dependencies: ["SystemManager"]
),
.target(
name: "Systemator",
dependencies: [
"Vapor",
"SystemController"
]
)
]
)