mirror of
https://github.com/Ranchero-Software/NetNewsWire.git
synced 2024-12-23 08:09:41 +01:00
36 lines
731 B
Swift
36 lines
731 B
Swift
|
// 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"]),
|
||
|
]
|
||
|
)
|