-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathPackage.swift
29 lines (27 loc) · 1.18 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
// swift-tools-version:5.2
import PackageDescription
let package = Package(
name: "SteamPressExample",
products: [
.library(name: "App", targets: ["App"]),
.executable(name: "Run", targets: ["Run"])
],
dependencies: [
.package(name: "Leaf", url: "https://github.com/vapor/leaf.git", from: "3.0.0"),
.package(name: "LeafErrorMiddleware", url: "https://github.com/brokenhandsio/leaf-error-middleware.git", from: "1.2.0"),
.package(url: "https://github.com/brokenhandsio/VaporSecurityHeaders.git", from: "2.0.0"),
.package(name: "SteampressFluentPostgres", url: "https://github.com/brokenhandsio/steampress-fluent-postgres.git", from: "1.0.0"),
.package(name: "LeafMarkdown", url: "https://github.com/vapor-community/leaf-markdown.git", from: "2.0.0")
],
targets: [
.target(name: "App",
dependencies: [
"Leaf",
"LeafErrorMiddleware",
"VaporSecurityHeaders",
"SteampressFluentPostgres",
"LeafMarkdown"]),
.testTarget(name: "AppTests", dependencies: ["App"]),
.target(name: "Run", dependencies: ["App"])
]
)