-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
38 lines (37 loc) · 1.35 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
// swift-tools-version:4.0
import PackageDescription
let package = Package(
name: "CommentsCore",
products: [
.library(name: "CommentsCore", targets: ["CommentsCore"])
],
dependencies: [
.package(url: "https://github.com/vapor/vapor.git", from: "3.0.0-rc.2"),
.package(url: "https://github.com/vapor/fluent.git", from: "3.0.0-rc.2"),
.package(url: "https://github.com/vapor/fluent-postgresql.git", from: "1.0.0-rc.2"),
.package(url: "https://github.com/LiveUI/DbCore.git", .branch("master")),
.package(url: "https://github.com/LiveUI/ApiCore.git", .branch("master")),
.package(url: "https://github.com/LiveUI/ErrorsCore.git", .branch("master")),
.package(url: "https://github.com/LiveUI/VaporTestTools.git", .branch("master")),
.package(url: "https://github.com/LiveUI/FluentTestTools.git", .branch("master"))
],
targets: [
.target(name: "CommentsCore", dependencies: [
"Vapor",
"DbCore",
"ApiCore",
"Fluent",
"FluentPostgreSQL",
"ErrorsCore"
]
),
.testTarget(name: "CommentsCoreTests", dependencies: [
"CommentsCore",
"ApiCore",
"VaporTestTools",
"FluentTestTools",
"ApiCoreTestTools"
]
)
]
)