mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-13 04:48:53 +00:00
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: LongYinan <lynweklm@gmail.com>
30 lines
825 B
Swift
30 lines
825 B
Swift
// 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: "MarkdownView",
|
|
platforms: [
|
|
.iOS(.v14),
|
|
.macCatalyst(.v14),
|
|
],
|
|
products: [
|
|
.library(name: "MarkdownView", targets: ["MarkdownView"]),
|
|
],
|
|
dependencies: [
|
|
.package(url: "https://github.com/JohnSundell/Splash", from: "0.16.0"),
|
|
.package(url: "https://github.com/swiftlang/swift-cmark", from: "0.6.0"),
|
|
],
|
|
targets: [
|
|
.target(name: "MarkdownView", dependencies: [
|
|
"MarkdownParser",
|
|
"Splash",
|
|
]),
|
|
.target(name: "MarkdownParser", dependencies: [
|
|
.product(name: "cmark-gfm", package: "swift-cmark"),
|
|
.product(name: "cmark-gfm-extensions", package: "swift-cmark"),
|
|
]),
|
|
]
|
|
)
|