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",
|
|
|
|
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"]),
|
|
|
|
]
|
|
|
|
)
|