-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathPackage.swift
31 lines (29 loc) · 891 Bytes
/
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
// swift-tools-version:4.0
import PackageDescription
let package = Package(
name: "SwiftServer",
dependencies: [
.package(url: "https://github.com/apple/swift-package-manager.git", from: "0.1.0"),
.package(url: "https://github.com/IBM-Swift/BlueSocket", from: "0.12.83")
],
targets: [
.target(
name:"Main",
dependencies: ["Routes", "Server", "Utility"]),
.target(
name: "Request"),
.target(
name: "Response"),
.target(
name: "Routes",
dependencies: ["Request", "Response", "ServerIO"]),
.target(
name: "Server",
dependencies: ["Request", "Response", "Routes", "Socket"]),
.target(
name: "ServerIO"),
.testTarget(
name:"Test",
dependencies: ["Request", "Server"])
]
)