-
Notifications
You must be signed in to change notification settings - Fork 36
/
Copy pathPackage.swift
31 lines (30 loc) · 877 Bytes
/
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
// swift-tools-version:5.7
import PackageDescription
let package = Package(
name: "myProject",
platforms: [
.macOS(.v12)
],
dependencies: [
.package(
url: "https://github.com/vapor/vapor",
from: "4.70.0"
),
.package(
url: "https://github.com/binarybirds/swift-html",
from: "1.7.0"
),
],
targets: [
.target(name: "App", dependencies: [
.product(name: "Vapor", package: "vapor"),
.product(name: "SwiftHtml", package: "swift-html"),
.product(name: "SwiftSvg", package: "swift-html"),
]),
.executableTarget(name: "Run", dependencies: ["App"]),
.testTarget(name: "AppTests", dependencies: [
.target(name: "App"),
.product(name: "XCTVapor", package: "vapor"),
])
]
)