-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
41 lines (38 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
// swift-tools-version:5.1
import PackageDescription
let package = Package(
name: "Webug",
products: [
.executable(name: "webug", targets: ["Webug"]),
.library(name: "WebugCore", targets: ["WebugCore"])
],
dependencies: [
.package(url: "https://github.com/vapor/vapor.git", from: "4.0.0-alpha.3.1"),
.package(url: "https://github.com/swift-server/async-http-client.git", from: "1.0.0-alpha.3"),
.package(url: "https://github.com/vapor/fluent.git", from: "4.0.0-alpha.2.1"),
.package(url: "https://github.com/vapor/leaf.git", from: "4.0.0-alpha.1.1"),
.package(url: "https://github.com/vapor/fluent-postgres-driver.git", from: "2.0.0-alpha.3"),
.package(url: "https://github.com/vapor/fluent-sqlite-driver.git", from: "4.0.0-alpha.3"),
.package(url: "https://github.com/vapor/redis.git", from: "4.0.0-alpha.1")
],
targets: [
.target(
name: "Webug",
dependencies: [
"Vapor",
"Leaf",
"WebugCore"
]
),
.target(
name: "WebugCore",
dependencies: [
"Vapor",
"Fluent",
"FluentPostgresDriver",
"FluentSQLiteDriver",
"Redis"
]
)
]
)