NetNewsWire/Core/Package.swift

36 lines
731 B
Swift
Raw Normal View History

// swift-tools-version: 5.10
import PackageDescription
let package = Package(
name: "Core",
platforms: [.macOS(.v14), .iOS(.v17)],
products: [
.library(name: "Core", 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"]),
]
)