-
Notifications
You must be signed in to change notification settings - Fork 2
/
Package.swift
45 lines (42 loc) · 1.33 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
// swift-tools-version:5.1
import PackageDescription
let package = Package(
name: "PerfectNIO",
platforms: [
.macOS(.v10_15)
],
products: [
.executable(name: "PerfectNIOExe", targets: ["PerfectNIOExe"]),
.library(name: "PerfectNIO", targets: ["PerfectNIO"]),
],
dependencies: [
.package(url: "https://github.com/PerfectlySoft/Perfect-Mustache.git", from: "4.0.0"),
.package(url: "https://github.com/PerfectlySoft/PerfectLib.git", from: "4.0.0"),
.package(url: "https://github.com/PerfectlySoft/Perfect-CRUD.git", from: "2.0.0"),
.package(url: "https://github.com/PerfectlySoft/Perfect-MIME.git", from: "1.0.0"),
.package(url: "https://github.com/apple/swift-nio.git", from: "2.0.0"),
.package(url: "https://github.com/apple/swift-nio-ssl.git", from: "2.0.0"),
.package(url: "https://github.com/PerfectlySoft/Perfect-CZlib-src.git", from: "0.0.0"),
// tests only
.package(url: "https://github.com/PerfectlySoft/Perfect-CURL.git", from: "5.0.0"),
],
targets: [
.target(name: "PerfectNIOExe", dependencies: [
"PerfectNIO",
]),
.target(name: "PerfectNIO", dependencies: [
"PerfectLib",
"PerfectCRUD",
"PerfectMIME",
"PerfectMustache",
"NIOHTTP1",
"NIOSSL",
"NIOWebSocket",
"PerfectCZlib"
]),
.testTarget(name: "PerfectNIOTests", dependencies: [
"PerfectNIO",
"PerfectCURL"
]),
]
)