-
-
Notifications
You must be signed in to change notification settings - Fork 26
/
Package.swift
41 lines (39 loc) · 1.24 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
30
31
32
33
34
35
36
37
38
39
40
41
// swift-tools-version: 5.7
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "ZMarkupParser",
platforms: [.iOS(.v12), .macOS(.v10_14)],
products: [
.library(name: "ZMarkupParser", targets: ["ZMarkupParser"])
],
dependencies: [
.package(url: "https://github.com/pointfreeco/swift-snapshot-testing", exact: "1.12.0"),
.package(url: "https://github.com/ZhgChgLi/ZNSTextAttachment", from: "1.1.9")
],
targets: [
.target(
name: "ZMarkupParser",
dependencies: [
"ZNSTextAttachment"
],
path: "Sources"
),
.testTarget(
name: "ZMarkupParserTests",
dependencies: ["ZMarkupParser"]),
.testTarget(
name: "ZMarkupParserSnapshotTests",
dependencies: [
"ZMarkupParser",
.product(name: "SnapshotTesting", package: "swift-snapshot-testing")
]
),
.testTarget(
name: "ZMarkupParserPerformanceTests",
dependencies: [
"ZMarkupParser"
]
)
]
)