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(
|
|
|
|
name: "Account",
|
2024-03-01 04:37:46 +01:00
|
|
|
platforms: [.macOS(.v14), .iOS(.v17)],
|
2020-07-30 14:27:14 +02:00
|
|
|
products: [
|
|
|
|
.library(
|
|
|
|
name: "Account",
|
2024-03-11 02:17:04 +01:00
|
|
|
type: .dynamic,
|
|
|
|
targets: ["Account"]),
|
2020-07-30 14:27:14 +02:00
|
|
|
],
|
2024-03-01 04:37:46 +01:00
|
|
|
dependencies: [
|
|
|
|
.package(url: "https://github.com/Ranchero-Software/RSCore.git", .upToNextMinor(from: "1.0.0")),
|
|
|
|
.package(url: "https://github.com/Ranchero-Software/RSParser.git", .upToNextMajor(from: "2.0.2")),
|
|
|
|
.package(url: "https://github.com/Ranchero-Software/RSWeb.git", .upToNextMajor(from: "1.0.0")),
|
|
|
|
.package(path: "../Articles"),
|
|
|
|
.package(path: "../ArticlesDatabase"),
|
|
|
|
.package(path: "../Secrets"),
|
2024-03-11 00:39:38 +01:00
|
|
|
.package(path: "../Database"),
|
2024-03-01 04:37:46 +01:00
|
|
|
.package(path: "../SyncDatabase")
|
|
|
|
],
|
2020-07-30 14:27:14 +02:00
|
|
|
targets: [
|
|
|
|
.target(
|
|
|
|
name: "Account",
|
|
|
|
dependencies: [
|
2020-07-31 03:43:18 +02:00
|
|
|
"RSCore",
|
|
|
|
"RSParser",
|
|
|
|
"RSWeb",
|
|
|
|
"Articles",
|
|
|
|
"ArticlesDatabase",
|
|
|
|
"Secrets",
|
|
|
|
"SyncDatabase",
|
2024-03-11 00:39:38 +01:00
|
|
|
"Database"
|
2020-07-30 14:27:14 +02:00
|
|
|
]),
|
|
|
|
.testTarget(
|
|
|
|
name: "AccountTests",
|
|
|
|
dependencies: ["Account"],
|
|
|
|
resources: [
|
|
|
|
.copy("JSON"),
|
|
|
|
]),
|
|
|
|
]
|
|
|
|
)
|