SHA256
Add Apple-platform tests without presenting them as Linux results. Improve native dark-mode contrast and keep the portable policy suite separate from WebKit tests. Swift formatting and syntax checks pass; Xcode execution remains required.
19 lines
757 B
Swift
19 lines
757 B
Swift
// swift-tools-version: 6.0
|
|
import PackageDescription
|
|
|
|
// Portable tests for the exact production URL policy. This is not an iOS build.
|
|
let package = Package(
|
|
name: "YuvomiPolicy",
|
|
products: [.library(name: "Yuvomi", targets: ["Yuvomi"])],
|
|
targets: [
|
|
.target(
|
|
name: "Yuvomi", path: "Sources",
|
|
exclude: [
|
|
"AuthenticationView.swift", "BrowserModel.swift", "ContentView.swift",
|
|
"ServerProbe.swift", "YuvomiApp.swift", "PrivacyInfo.xcprivacy", "Assets.xcassets",
|
|
], sources: ["ServerAddress.swift", "ServerMetadata.swift"]),
|
|
.testTarget(
|
|
name: "YuvomiPolicyTests", dependencies: ["Yuvomi"], path: "Tests", exclude: ["BrowserModelTests.swift"]),
|
|
]
|
|
)
|