-
Notifications
You must be signed in to change notification settings - Fork 45
Expand file tree
/
Copy pathPackage.swift
More file actions
49 lines (47 loc) · 1.75 KB
/
Copy pathPackage.swift
File metadata and controls
49 lines (47 loc) · 1.75 KB
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
46
47
48
49
// swift-tools-version: 5.9
// The swift-tools-version declares the minimum version of Swift required to build this package.
import PackageDescription
let package = Package(
name: "SwiftStreamingMarkdown",
defaultLocalization: "en",
platforms: [.iOS(.v16), .macOS(.v14)],
products: [
.library(
name: "SwiftStreamingMarkdown",
targets: ["SwiftStreamingMarkdown"])
],
dependencies: [
.package(url: "https://github.com/ordo-one/equatable", exact: "1.4.1"),
.package(url: "https://github.com/pointfreeco/swift-snapshot-testing", exact: "1.19.4"),
.package(url: "https://github.com/swiftlang/swift-markdown.git", exact: "0.7.3"),
.package(url: "https://github.com/appstefan/highlightswift", revision: "99c431b38a1444a5fd6a4978307fbbefe3a7af53"),
.package(url: "https://github.com/junyan72/iosMath", revision: "ba9ab7729b151329c54fd895a7c1859981d9484c"),
.package(url: "https://github.com/markiv/SwiftUI-Shimmer", exact: "1.5.1")
],
targets: [
.target(
name: "SwiftStreamingMarkdown",
dependencies: [
.product(name: "Equatable", package: "equatable"),
.product(name: "Markdown", package: "swift-markdown"),
.product(name: "HighlightSwift", package: "highlightswift"),
.product(name: "iosMath", package: "iosMath"),
.product(name: "Shimmer", package: "SwiftUI-Shimmer")
],
path: "Sources/MarkdownText",
resources: [
.process("Resources")
]
),
.testTarget(
name: "SwiftStreamingMarkdownTests",
dependencies: [
"SwiftStreamingMarkdown",
.product(name: "SnapshotTesting", package: "swift-snapshot-testing")
],
path: "Tests/MarkdownTextTests",
resources: [
.process("Resources")
])
]
)