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