-
Notifications
You must be signed in to change notification settings - Fork 3
/
Package.swift
39 lines (34 loc) · 1.71 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:4.1
import PackageDescription
let package = Package(
name: "VaporExt",
products: [
.library(name: "AsyncExt", targets: ["AsyncExt"]),
.library(name: "FluentExt", targets: ["FluentExt"]),
.library(name: "ServiceExt", targets: ["ServiceExt"]),
.library(name: "VaporExt", targets: ["VaporExt"]),
],
dependencies: [
// 💧 A server-side Swift web framework.
.package(url: "https://github.com/gperdomor/vapor.git", from: "3.0.0"),
// 🌎 Utility package containing tools for byte manipulation, Codable, OS APIs, and debugging.
.package(url: "https://github.com/vapor/core.git", from: "3.0.0"),
// 🖋 Swift ORM framework (queries, models, and relations) for building NoSQL and SQL database integrations.
.package(url: "https://github.com/vapor/fluent.git", from: "3.0.0"),
// 📦 Dependency injection / inversion of control framework.
.package(url: "https://github.com/vapor/service.git", from: "1.0.0"),
],
targets: [
// AsyncExt
.target(name: "AsyncExt", dependencies: ["Async", "Core"]),
.testTarget(name: "AsyncExtTests", dependencies: ["AsyncExt"]),
// FluentExt
.target(name: "FluentExt", dependencies: ["Fluent", "FluentSQL", "Debugging", "Vapor"]),
.testTarget(name: "FluentExtTests", dependencies: ["FluentExt"]),
// ServiceExt
.target(name: "ServiceExt", dependencies: ["Service"]),
.testTarget(name: "ServiceExtTests", dependencies: ["ServiceExt"]),
.target(name: "VaporExt", dependencies: ["AsyncExt", "FluentExt", "ServiceExt"]),
.testTarget(name: "VaporExtTests", dependencies: ["VaporExt"]),
]
)