-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathPackage.swift
27 lines (26 loc) · 1.52 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
// swift-tools-version:4.0
import PackageDescription
let package = Package(
name: "Heze",
products: [
.library(name: "Heze", targets: ["Heze"]),
.library(name: "Virgo", targets: ["Virgo"]),
],
dependencies: [
.package(url: "https://github.com/PerfectlySoft/Perfect-HTTPServer.git" , from: "3.0.0"),
.package(url: "https://github.com/PerfectlySoft/Perfect-CURL.git" , from: "3.0.0"),
.package(url: "https://github.com/PerfectlySoft/Perfect-Mustache.git" , from: "3.0.0"),
.package(url: "https://github.com/PerfectlySoft/Perfect-Crypto.git", from: "3.0.0"),
.package(url: "https://github.com/PerfectlySoft/Perfect-MySQL.git", from: "3.0.0"),
.package(url: "https://github.com/PerfectlySoft/Perfect-Markdown.git", from: "3.0.0"),
.package(url: "https://github.com/PerfectlySoft/Perfect-Session.git", from: "3.0.0"),
.package(url: "https://github.com/PerfectlySoft/Perfect-Session-MySQL.git", from: "3.0.0"),
.package(url: "https://github.com/PerfectlySoft/Perfect-WebSockets.git", from: "3.0.0"),
.package(url: "https://github.com/onevcat/Rainbow", from: "3.0.0"),
],
targets: [
.target(name: "HezeDemo", dependencies: ["Heze"]),
.target(name: "Heze", dependencies: ["PerfectHTTPServer", "PerfectMustache", "PerfectCrypto", "PerfectMySQL", "PerfectCURL", "PerfectMarkdown", "PerfectSession", "PerfectSessionMySQL", "PerfectWebSockets", "Rainbow", "Virgo"]),
.target(name: "Virgo", dependencies: ["Rainbow"]),
]
)