2024-04-16 06:11:59 +02:00
|
|
|
// swift-tools-version: 5.10
|
|
|
|
|
|
|
|
import PackageDescription
|
|
|
|
|
|
|
|
let package = Package(
|
|
|
|
name: "Images",
|
|
|
|
platforms: [.macOS(.v14), .iOS(.v17)],
|
|
|
|
products: [
|
|
|
|
.library(
|
|
|
|
name: "Images",
|
|
|
|
targets: ["Images"]),
|
|
|
|
],
|
2024-04-16 07:21:17 +02:00
|
|
|
dependencies: [
|
|
|
|
.package(path: "../Core"),
|
|
|
|
.package(path: "../Articles"),
|
2024-07-01 03:05:03 +02:00
|
|
|
.package(path: "../Account")
|
2024-04-16 07:21:17 +02:00
|
|
|
],
|
2024-04-16 06:11:59 +02:00
|
|
|
targets: [
|
|
|
|
.target(
|
|
|
|
name: "Images",
|
|
|
|
dependencies: [
|
2024-04-16 07:21:17 +02:00
|
|
|
"Core",
|
|
|
|
"Articles",
|
2024-07-01 03:05:03 +02:00
|
|
|
"Account"
|
2024-04-16 06:11:59 +02:00
|
|
|
]
|
2024-04-18 05:51:25 +02:00
|
|
|
// Disabled due to Sendable warnings about RSImage (NSImage).
|
|
|
|
// TODO: check if Swift 6 will allow us to deal with these warnings.
|
|
|
|
// swiftSettings: [
|
|
|
|
// .enableExperimentalFeature("StrictConcurrency")
|
|
|
|
// ]
|
2024-04-16 06:11:59 +02:00
|
|
|
),
|
|
|
|
.testTarget(
|
|
|
|
name: "ImagesTests",
|
|
|
|
dependencies: ["Images"]),
|
|
|
|
]
|
|
|
|
)
|