NetNewsWire/Modules/Core/Package.swift

40 lines
767 B
Swift
Raw Normal View History

// swift-tools-version: 5.10
import PackageDescription
let package = Package(
name: "Core",
platforms: [.macOS(.v14), .iOS(.v17)],
products: [
2024-05-22 06:43:43 +02:00
.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"]),
]
)