NetNewsWire/Core/Package.swift
2024-05-21 21:43:43 -07:00

40 lines
767 B
Swift

// swift-tools-version: 5.10
import PackageDescription
let package = Package(
name: "Core",
platforms: [.macOS(.v14), .iOS(.v17)],
products: [
.library(name: "Core",
type: .dynamic,
targets: ["Core"]),
.library(name: "CoreResources",
type: .static,
targets: ["CoreResources"])
],
dependencies: [
.package(path: "../AppKitExtras")
],
targets: [
.target(
name: "Core",
dependencies: [
"AppKitExtras",
],
swiftSettings: [
.enableExperimentalFeature("StrictConcurrency")
]
),
.target(
name: "CoreResources",
resources: [
.process("Resources/WebViewWindow.xib"),
.process("Resources/IndeterminateProgressWindow.xib")
]),
.testTarget(
name: "CoreTests",
dependencies: ["Core"]),
]
)