2024-03-11 00:39:38 +01:00
|
|
|
// swift-tools-version: 5.10
|
2020-07-30 14:27:14 +02:00
|
|
|
import PackageDescription
|
|
|
|
|
|
|
|
let package = Package(
|
2024-03-25 06:42:48 +01:00
|
|
|
name: "Account",
|
2024-03-01 04:37:46 +01:00
|
|
|
platforms: [.macOS(.v14), .iOS(.v17)],
|
2024-03-25 06:42:48 +01:00
|
|
|
products: [
|
|
|
|
.library(
|
|
|
|
name: "Account",
|
2024-03-11 02:17:04 +01:00
|
|
|
type: .dynamic,
|
|
|
|
targets: ["Account"]),
|
2024-03-25 06:42:48 +01:00
|
|
|
],
|
|
|
|
dependencies: [
|
2024-04-03 06:43:06 +02:00
|
|
|
.package(path: "../Parser"),
|
2024-03-01 04:37:46 +01:00
|
|
|
.package(path: "../Articles"),
|
|
|
|
.package(path: "../ArticlesDatabase"),
|
2024-04-02 04:31:57 +02:00
|
|
|
.package(path: "../Web"),
|
2024-03-01 04:37:46 +01:00
|
|
|
.package(path: "../Secrets"),
|
2024-03-11 00:39:38 +01:00
|
|
|
.package(path: "../Database"),
|
2024-03-21 04:49:15 +01:00
|
|
|
.package(path: "../SyncDatabase"),
|
|
|
|
.package(path: "../Core"),
|
|
|
|
.package(path: "../CloudKitExtras")
|
2024-03-01 04:37:46 +01:00
|
|
|
],
|
2024-03-25 06:42:48 +01:00
|
|
|
targets: [
|
|
|
|
.target(
|
|
|
|
name: "Account",
|
|
|
|
dependencies: [
|
2024-04-03 06:43:06 +02:00
|
|
|
"Parser",
|
2024-04-02 04:31:57 +02:00
|
|
|
"Web",
|
2020-07-31 03:43:18 +02:00
|
|
|
"Articles",
|
|
|
|
"ArticlesDatabase",
|
|
|
|
"Secrets",
|
|
|
|
"SyncDatabase",
|
2024-03-21 04:49:15 +01:00
|
|
|
"Database",
|
|
|
|
"Core",
|
|
|
|
"CloudKitExtras"
|
2024-03-25 06:42:48 +01:00
|
|
|
],
|
|
|
|
swiftSettings: [
|
|
|
|
.enableExperimentalFeature("StrictConcurrency")
|
|
|
|
]
|
|
|
|
),
|
|
|
|
.testTarget(
|
|
|
|
name: "AccountTests",
|
|
|
|
dependencies: ["Account"],
|
2020-07-30 14:27:14 +02:00
|
|
|
resources: [
|
|
|
|
.copy("JSON"),
|
|
|
|
]),
|
2024-03-25 06:42:48 +01:00
|
|
|
]
|
2020-07-30 14:27:14 +02:00
|
|
|
)
|