-
Notifications
You must be signed in to change notification settings - Fork 57
/
Package.swift
45 lines (44 loc) · 930 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
42
43
44
45
// swift-tools-version: 5.5
import PackageDescription
let package = Package(
name: "swift-html",
platforms: [
.iOS(.v13),
.macOS(.v10_15),
.tvOS(.v13),
],
products: [
.library(
name: "Html",
targets: ["Html"]),
.library(
name: "HtmlSnapshotTesting",
targets: ["HtmlSnapshotTesting"]),
],
dependencies: [
.package(url: "https://github.com/pointfreeco/swift-snapshot-testing", from: "1.11.1")
],
targets: [
.target(
name: "Html"
),
.testTarget(
name: "HtmlTests",
dependencies: ["Html"]
),
.target(
name: "HtmlSnapshotTesting",
dependencies: [
"Html",
.product(name: "SnapshotTesting", package: "swift-snapshot-testing"),
]
),
.testTarget(
name: "HtmlSnapshotTestingTests",
dependencies: ["HtmlSnapshotTesting"],
exclude: [
"__Snapshots__"
]
),
]
)