-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathPackage.swift
More file actions
39 lines (36 loc) · 1.37 KB
/
Package.swift
File metadata and controls
39 lines (36 loc) · 1.37 KB
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: "VaporNotes",
products: [
.library(name: "App", targets: ["App"]),
.executable(name: "Run", targets: ["Run"])
],
dependencies: [
.package(url: "https://github.com/vapor/vapor.git", .upToNextMajor(from:
"2.1.0")),
.package(url: "https://github.com/vapor/fluent-provider.git",
.upToNextMajor(from: "1.2.0")),
.package(url: "https://github.com/vapor/auth-provider.git",
.upToNextMajor(from: "1.2.0")),
.package(url:
"https://github.com/vapor/leaf-provider.git",
.upToNextMajor(from: "1.1.0")),
.package(url:
"https://github.com/vapor-community/markdown-provider.git",
.upToNextMajor(from: "1.1.0")),
.package(url: "https://github.com/weichsel/ZIPFoundation.git",
.upToNextMajor(from: "0.9.2")),
],
targets: [
.target(name: "App", dependencies: ["Vapor", "LeafProvider",
"FluentProvider", "MarkdownProvider", "AuthProvider", "ZIPFoundation"],
exclude: [
"Config",
"Public",
"Resources",
]),
.target(name: "Run", dependencies: ["App"]),
.testTarget(name: "AppTests", dependencies: ["App", "Testing"])
]
)