-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathPackage.swift
41 lines (39 loc) · 939 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
32
33
34
35
36
37
38
39
40
41
// swift-tools-version:5.3
import PackageDescription
let package = Package(
name: "swift-html-vapor",
platforms: [
.macOS(.v10_15)
],
products: [
.library(
name: "HtmlVaporSupport",
targets: ["HtmlVaporSupport"]
),
.executable(
name: "HtmlVaporSupportExample",
targets: ["HtmlVaporSupportExample"]
),
],
dependencies: [
.package(url: "https://github.com/pointfreeco/swift-html", from: "0.4.0"),
.package(url: "https://github.com/vapor/vapor", from: "4.0.0"),
],
targets: [
.target(
name: "HtmlVaporSupport",
dependencies: [
.product(name: "Html", package: "swift-html"),
.product(name: "Vapor", package: "vapor"),
]
),
.testTarget(
name: "HtmlVaporSupportTests",
dependencies: ["HtmlVaporSupport"]
),
.target(
name: "HtmlVaporSupportExample",
dependencies: ["HtmlVaporSupport"]
),
]
)