-
Notifications
You must be signed in to change notification settings - Fork 0
/
Package.swift
33 lines (30 loc) · 1.41 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
// swift-tools-version:5.0
import PackageDescription
let package = Package(
name: "ShoterBackend",
dependencies: [
// 💧 A server-side Swift web framework.
.package(url: "https://github.com/vapor/vapor.git", from: "3.0.0"),
.package(url: "https://github.com/vapor/multipart.git", from: "3.0.0"),
// 🔵 Swift ORM (queries, models, relations, etc) built on SQLite 3.
.package(url: "https://github.com/vapor/fluent-sqlite.git", from: "3.0.0"),
.package(url: "https://github.com/vapor/fluent-postgresql", from: "1.0.0"),
.package(url: "https://github.com/vapor/database-kit.git", from: "1.0.0"),
// .package(url: "https://github.com/MihaelIsaev/SwifQL.git", from:"0.9.0"),
// 👤 Authentication and Authorization layer for Fluent.
.package(url: "https://github.com/vapor/auth.git", from: "2.0.0"),
],
targets: [
.target(name: "App",
dependencies: ["Authentication",
"FluentSQLite",
"FluentPostgreSQL",
"DatabaseKit",
// "SwifQL",
// "SwifQLVapor",
"Vapor",
"Multipart"]),
.target(name: "Run", dependencies: ["App"]),
.testTarget(name: "AppTests", dependencies: ["App"])
]
)