NetNewsWire/RSDatabase/Package.swift
2024-11-08 22:02:15 -08:00

35 lines
643 B
Swift

// swift-tools-version:5.10
import PackageDescription
let package = Package(
name: "RSDatabase",
platforms: [.macOS(.v14), .iOS(.v17)],
products: [
.library(
name: "RSDatabase",
type: .dynamic,
targets: ["RSDatabase"]),
.library(
name: "RSDatabaseObjC",
type: .dynamic,
targets: ["RSDatabaseObjC"]),
],
dependencies: [
],
targets: [
.target(
name: "RSDatabase",
dependencies: ["RSDatabaseObjC"],
swiftSettings: [.unsafeFlags(["-warnings-as-errors"])]
),
.target(
name: "RSDatabaseObjC",
dependencies: []
),
.testTarget(
name: "RSDatabaseTests",
dependencies: ["RSDatabase"]),
]
)