NetNewsWire/SyncDatabase/Package.swift
2024-03-10 18:17:04 -07:00

45 lines
935 B
Swift

// swift-tools-version: 5.10
import PackageDescription
var dependencies: [Package.Dependency] = [
.package(url: "https://github.com/Ranchero-Software/RSCore.git", .upToNextMinor(from: "1.0.0")),
]
#if swift(>=5.6)
dependencies.append(contentsOf: [
.package(path: "../Articles"),
.package(path: "../Database"),
.package(path: "../FMDB"),
])
#else
dependencies.append(contentsOf: [
.package(url: "../Articles", .upToNextMajor(from: "1.0.0")),
])
#endif
let package = Package(
name: "SyncDatabase",
platforms: [.macOS(.v14), .iOS(.v17)],
products: [
.library(
name: "SyncDatabase",
type: .dynamic,
targets: ["SyncDatabase"]),
],
dependencies: dependencies,
targets: [
.target(
name: "SyncDatabase",
dependencies: [
"RSCore",
"Database",
"Articles",
"FMDB"
],
swiftSettings: [
.enableExperimentalFeature("StrictConcurrency")
]
)
]
)