28 lines
643 B
Swift
28 lines
643 B
Swift
// swift-tools-version:5.10
|
|
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "RSCore",
|
|
platforms: [.macOS(.v14), .iOS(.v17)],
|
|
products: [
|
|
.library(name: "RSCore", type: .dynamic, targets: ["RSCore"]),
|
|
.library(name: "RSCoreResources", type: .static, targets: ["RSCoreResources"])
|
|
],
|
|
targets: [
|
|
.target(
|
|
name: "RSCore",
|
|
swiftSettings: [.unsafeFlags(["-warnings-as-errors"])]
|
|
),
|
|
.target(
|
|
name: "RSCoreResources",
|
|
resources: [
|
|
.process("Resources/WebViewWindow.xib"),
|
|
.process("Resources/IndeterminateProgressWindow.xib")
|
|
]),
|
|
.testTarget(
|
|
name: "RSCoreTests",
|
|
dependencies: ["RSCore"]),
|
|
]
|
|
)
|