This repository has been archived by the owner on Oct 27, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPackage.swift
47 lines (46 loc) · 2.15 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
// swift-tools-version:5.2
import PackageDescription
let package = Package(
name: "yubatake",
platforms: [
.macOS(.v10_15)
],
products: [
.executable(name: "Run", targets: ["Run"])
],
dependencies: [
.package(url: "https://github.com/rb-de0/Poppo.git", from: "1.1.0"),
.package(url: "https://github.com/scinfu/SwiftSoup.git", from: "1.0.0"),
.package(name: "SwiftMarkdown", url: "https://github.com/vapor-community/markdown.git", from: "0.6.0"),
.package(url: "https://github.com/vapor/leaf.git", from: "4.0.0"),
.package(url: "https://github.com/vapor/fluent-mysql-driver.git", from: "4.0.0"),
.package(url: "https://github.com/vapor/fluent.git", from: "4.0.0"),
.package(url: "https://github.com/vapor/vapor.git", from: "4.0.0"),
.package(url: "https://github.com/vapor/redis.git", from: "4.0.0"),
.package(url: "https://github.com/vapor-community/CSRF.git", from: "3.0.0"),
.package(url: "https://github.com/diskshima/SwiftyJSON.git", .branch("rename-nsnumber-comparison-operators")),
.package(name: "VaporSecurityHeaders", url: "https://github.com/brokenhandsio/VaporSecurityHeaders.git", from: "3.0.0")
],
targets: [
.target(name: "App", dependencies: [
.product(name: "Fluent", package: "fluent"),
.product(name: "FluentMySQLDriver", package: "fluent-mysql-driver"),
.product(name: "Vapor", package: "vapor"),
.product(name: "Leaf", package: "leaf"),
.product(name: "Redis", package: "redis"),
.product(name: "CSRF", package: "CSRF"),
.product(name: "Poppo", package: "Poppo"),
.product(name: "SwiftSoup", package: "SwiftSoup"),
.product(name: "SwiftyJSON", package: "SwiftyJSON"),
.byName(name: "VaporSecurityHeaders"),
.byName(name: "SwiftMarkdown")
]),
.target(name: "Run", dependencies: [
.target(name: "App")
]),
.testTarget(name: "YubatakeTests", dependencies: [
.target(name: "App"),
.product(name: "XCTVapor", package: "vapor")
])
]
)