mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-28 08:17:16 +00:00
49 lines
1.0 KiB
Swift
49 lines
1.0 KiB
Swift
// swift-tools-version:6.2
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "RSParser",
|
|
platforms: [.macOS(.v26), .iOS(.v26)],
|
|
products: [
|
|
.library(
|
|
name: "RSParser",
|
|
type: .dynamic,
|
|
targets: ["RSParser"]),
|
|
.library(
|
|
name: "RSParserObjC",
|
|
type: .dynamic,
|
|
targets: ["RSParserObjC"])
|
|
],
|
|
dependencies: [
|
|
.package(path: "../RSMarkdown")
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "RSParser",
|
|
dependencies: ["RSParserObjC", "RSMarkdown"],
|
|
path: "Sources/Swift",
|
|
swiftSettings: [
|
|
.enableUpcomingFeature("NonisolatedNonsendingByDefault"),
|
|
.enableUpcomingFeature("InferIsolatedConformances")
|
|
]),
|
|
.target(
|
|
name: "RSParserObjC",
|
|
dependencies: [],
|
|
path: "Sources/ObjC",
|
|
cSettings: [
|
|
.headerSearchPath("include")
|
|
]
|
|
),
|
|
.testTarget(
|
|
name: "RSParserTests",
|
|
dependencies: ["RSParser"],
|
|
exclude: ["Info.plist"],
|
|
resources: [.copy("Resources")],
|
|
swiftSettings: [
|
|
.enableUpcomingFeature("NonisolatedNonsendingByDefault"),
|
|
.enableUpcomingFeature("InferIsolatedConformances")
|
|
]
|
|
)
|
|
]
|
|
)
|