NetNewsWire/ReaderAPI/Package.swift

38 lines
698 B
Swift
Raw Normal View History

2024-04-06 22:06:24 +02:00
// swift-tools-version: 5.10
import PackageDescription
let package = Package(
name: "ReaderAPI",
platforms: [.macOS(.v14), .iOS(.v17)],
products: [
.library(
name: "ReaderAPI",
2024-05-22 06:43:43 +02:00
type: .dynamic,
2024-04-06 22:06:24 +02:00
targets: ["ReaderAPI"]),
],
dependencies: [
2024-04-07 02:46:17 +02:00
.package(path: "../FoundationExtras"),
.package(path: "../Web"),
.package(path: "../Secrets"),
.package(path: "../CommonErrors"),
2024-04-06 22:06:24 +02:00
],
targets: [
.target(
name: "ReaderAPI",
2024-04-07 02:46:17 +02:00
dependencies: [
"FoundationExtras",
"Web",
"Secrets",
"CommonErrors"
],
2024-04-06 22:06:24 +02:00
swiftSettings: [
.enableExperimentalFeature("StrictConcurrency")
]
),
.testTarget(
name: "ReaderAPITests",
dependencies: ["ReaderAPI"]),
]
)