2024-11-08 20:50:21 -08:00
|
|
|
// swift-tools-version:5.10
|
2022-06-19 11:57:10 +08:00
|
|
|
|
2024-11-06 21:01:17 -08:00
|
|
|
import PackageDescription
|
2022-06-19 11:57:10 +08:00
|
|
|
|
2020-07-30 07:27:14 -05:00
|
|
|
let package = Package(
|
2024-11-09 09:44:22 -08:00
|
|
|
name: "Account",
|
2024-11-06 21:01:17 -08:00
|
|
|
platforms: [.macOS(.v14), .iOS(.v17)],
|
2024-11-09 09:44:22 -08:00
|
|
|
products: [
|
|
|
|
.library(
|
|
|
|
name: "Account",
|
2020-12-21 10:55:00 -06:00
|
|
|
type: .dynamic,
|
2024-11-09 09:44:22 -08:00
|
|
|
targets: ["Account"]),
|
|
|
|
],
|
|
|
|
dependencies: [
|
2024-11-06 21:01:17 -08:00
|
|
|
.package(path: "../RSWeb"),
|
|
|
|
.package(path: "../Articles"),
|
|
|
|
.package(path: "../ArticlesDatabase"),
|
|
|
|
.package(path: "../Secrets"),
|
|
|
|
.package(path: "../SyncDatabase"),
|
|
|
|
.package(path: "../RSCore"),
|
2024-11-09 09:44:22 -08:00
|
|
|
.package(path: "../RSDatabase"),
|
|
|
|
.package(path: "../RSParser"),
|
2024-11-06 21:01:17 -08:00
|
|
|
],
|
2024-11-09 09:44:22 -08:00
|
|
|
targets: [
|
|
|
|
.target(
|
|
|
|
name: "Account",
|
|
|
|
dependencies: [
|
2020-07-30 20:43:18 -05:00
|
|
|
"RSCore",
|
|
|
|
"RSDatabase",
|
|
|
|
"RSParser",
|
|
|
|
"RSWeb",
|
|
|
|
"Articles",
|
|
|
|
"ArticlesDatabase",
|
|
|
|
"Secrets",
|
|
|
|
"SyncDatabase",
|
2024-11-09 09:44:22 -08:00
|
|
|
],
|
|
|
|
swiftSettings: [.unsafeFlags(["-warnings-as-errors"])]
|
|
|
|
),
|
|
|
|
.testTarget(
|
|
|
|
name: "AccountTests",
|
|
|
|
dependencies: ["Account"],
|
2020-07-30 07:27:14 -05:00
|
|
|
resources: [
|
|
|
|
.copy("JSON"),
|
|
|
|
]),
|
2024-11-09 09:44:22 -08:00
|
|
|
]
|
2020-07-30 07:27:14 -05:00
|
|
|
)
|