2024-11-09 05:50:21 +01:00
|
|
|
// swift-tools-version:5.10
|
2024-11-07 06:01:17 +01:00
|
|
|
|
|
|
|
import PackageDescription
|
|
|
|
|
|
|
|
let package = Package(
|
|
|
|
name: "RSWeb",
|
|
|
|
platforms: [.macOS(.v14), .iOS(.v17)],
|
|
|
|
products: [
|
|
|
|
.library(
|
|
|
|
name: "RSWeb",
|
|
|
|
type: .dynamic,
|
|
|
|
targets: ["RSWeb"]),
|
2024-11-09 06:52:53 +01:00
|
|
|
],
|
|
|
|
dependencies: [
|
|
|
|
],
|
|
|
|
targets: [
|
|
|
|
.target(
|
|
|
|
name: "RSWeb",
|
2024-11-07 06:01:17 +01:00
|
|
|
resources: [.copy("UTS46/uts46")],
|
2024-11-09 06:52:53 +01:00
|
|
|
swiftSettings: [
|
|
|
|
.define("SWIFT_PACKAGE"),
|
|
|
|
.unsafeFlags(["-warnings-as-errors"])
|
|
|
|
]),
|
|
|
|
.testTarget(
|
|
|
|
name: "RSWebTests",
|
|
|
|
dependencies: ["RSWeb"]),
|
|
|
|
]
|
2024-11-07 06:01:17 +01:00
|
|
|
)
|