Auftrag Stabilitaet: Echtheits-Katalog, Invarianten, Chaos-Lauf, Bild-Vorlagen, Zustand als Maschine

This commit is contained in:
2026-10-29 18:24:53 +01:00
parent ba0e9fc1ed
commit 1fe64316a1
34 changed files with 4386 additions and 0 deletions
+73
View File
@@ -0,0 +1,73 @@
# Auftrag: stabil statt Stueckwerk - Schluss mit Zurueckkommen bei jedem Minifehler
Ziel dieser Runde: **Fehler im Klon finden, nicht live.** Keine neuen Faehigkeiten, nur
Zuverlaessigkeit. Wenn ein Fehler live auftaucht, ist das ein Zeichen, dass der Klon ihn nicht
kennt oder die Pruefung ihn nicht sieht - nicht, dass jemand zu langsam war.
## Warum es bisher zurueckkam (ehrliche Ursache)
Unsere Tests sind nicht zu wenige, sie sind zu **freundlich**. Der Klon ist eine andere Welt als
der Client: benannte Fenster statt namenloser, ein DOM statt gemalter Dialoge, ein Fenster je
Raum, kein Hover, kein Sterben, keine veralteten Raeume, keine Zeitverschiebung von
`game_alldata`. **Jeder Live-Fehler kam aus genau dieser Luecke**: Klick erreicht Chrome nicht,
Fenster nicht unterscheidbar, Profil-Dialog ueber der Leiste, gemischte Raeume, Frist abgelaufen
bei aktivem Fenster, drei Laeufer. Die Kette prueft den guten Weg und nicht die Gemeinheit.
## Was fehlt - vier Bausteine
### 1. Echtheits-Katalog: der Klon muss so gemein werden wie der Client
Jedes live gesehene Phaenomen wird eine Vorlage im Klon plus ein Kettenfall, der sie ueberleben
muss. Mindestens: zwei Fenster mit **gleichem** Titel; ein Fenster, **das mitten in der Sitzung
stirbt**; Hover auf ein Sitzschild oeffnet ein Profil, Klick das grosse Profil **ueber der
Leiste**; **veraltete Raeume im Log** (Raum ohne Fenster); fehlendes `game_alldata`;
Join **vor** dem Laeuferstart; Sitznummern gegen Stellen **versetzt**; Warteliste; Sitout und
Disconnected; Autoschliessen durch den Client; Logrotation mitten im Lauf. Je Phaenomen: was der
Client tut (aus unseren Vorfall-Dateien) und was der Laeufer tun muss.
### 2. Invarianten statt Schritte
Die Kette prueft heute Schritte ("plus geklickt"). Stabil wird es durch **immerwahrende Regeln**,
die ab der ersten Sekunde und durchgehend gelten - verletzt eine sie, bricht der Lauf ab:
* **Ein aktiver Raum**: geklickt wird nur im Raum des Fensters; nie in einem Log-Raum ohne Fenster.
* **Hoechstens ein Laeufer** (Sperrdatei mit PID; ein zweiter startet nicht oder raeumt sich ein).
* **Jeder eigene Zug** endet in genau **einer** Aktion oder in einem **genannten** Grund.
* **Kein Klick ohne Beleg oder Grund** (unbestaetigt + ohne Grund = Fehler).
* **Keine Aktion doppelt** (Fingerabdruck je Zug).
* **Kein Zug verloren, solange ein Fenster offen ist** (Fristabstand gemessen).
* **Guthaben** aendert sich nur durch protokollierte Kaeufe/Nachkaeufe/Aufstehen.
* **Kein Fenster ohne Raum, kein Raum ohne Fenster** - der Widerspruch ist der heutige Vorfall.
### 3. Chaos-Lauf mit Startwert
Eine Sitzung im Klon ueber mehrere Minuten, in der Stoerungen **eingestreut** werden (Fenster zu,
Dialog geht von selbst auf, zweiter Tisch erscheint, Log rotiert, Laeufer wird neu gestartet,
Gegner verlaesst den Tisch, wir sitzen aus, Client startet neu). Die Invarianten aus Punkt 2
laufen die ganze Zeit mit. Mit Startwert wiederholbar (dann finden wir den Fehler beim zweiten
Mal wieder, statt ihn zu suchen).
### 4. Bild-Vorlagen aus dem echten Client
Wachen gegen **echte Fensterbilder** pruefen, nicht nur gegen den Klon: je Zustand ein Bild
(Profil-Hover, Profil-Dialog, Buy-in-Dialog, Wartelisten-Dialog, Sitout, leerer Tisch, volle
Leiste) plus das erwartete Ergebnis. Sonst testet die Wache ihre eigene Annahme. Wir liefern die
Bilder und die zugehoerigen Log-Ausschnitte; du baust die Sammlung und die Pruefung.
## Zusaetzlich: Zustand als Zustand, nicht als if-Kette
Der Live-Fehler "gemischte Raeume" hatte eine Ursache: **welcher Raum aktiv ist, ob ein Dialog
offen ist, ob wir den Buy-in schon geoeffnet haben** steht in verstreuten Bedingungen. Als
**eine** Zustandsmaschine (reine Funktion: Zustand + Ereignis -> naechster Zustand + Handlung)
waere der Fall testbar und der naechste Fehler unwahrscheinlicher. Ereignisse: Logzeile, Fenster
weg, Dialog auf, Klick unbestaetigt, Frist abgelaufen.
## Abnahme
* Alle Phaenomene aus Punkt 1 haben einen Kettenfall, der sie ueberlebt; der Klon loest sie aus.
* Der Chaos-Lauf laeuft gruen mit Startwert und **bricht bei jeder Invariantenverletzung ab**.
* Bild-Vorlagen liegen als Dateien im Repo und werden geprueft (Treffer und Fehltreffer, z.B.
eine Tabelle muss NICHT als Dialog erkannt werden).
* Am Ende des Chaos-Laufs stehen **Zaehler, die null sein muessen**: unbestaetigte Klicks,
verlorene Zuege, Raumwechsel, Doppelaktionen, Aussetzer ohne Grund.
* `tests/lauf.py schnell` bleibt schnell; die Chaos-Runde gehoert in die Ketten-Spur.
@@ -0,0 +1,3 @@
module CockpitKern {
header "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/include/CockpitKern-Swift.h"
}
@@ -0,0 +1,33 @@
{
"": {
"swift-dependencies": "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/master.swiftdeps"
},
"/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Modelle.swift": {
"dependencies": "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Modelle.d",
"object": "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Modelle.swift.o",
"swiftmodule": "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Modelle~partial.swiftmodule",
"swift-dependencies": "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Modelle.swiftdeps",
"diagnostics": "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Modelle.dia"
},
"/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Nachsichtig.swift": {
"dependencies": "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Nachsichtig.d",
"object": "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Nachsichtig.swift.o",
"swiftmodule": "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Nachsichtig~partial.swiftmodule",
"swift-dependencies": "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Nachsichtig.swiftdeps",
"diagnostics": "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Nachsichtig.dia"
},
"/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Regeln.swift": {
"dependencies": "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Regeln.d",
"object": "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Regeln.swift.o",
"swiftmodule": "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Regeln~partial.swiftmodule",
"swift-dependencies": "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Regeln.swiftdeps",
"diagnostics": "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Regeln.dia"
},
"/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Wachstum.swift": {
"dependencies": "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Wachstum.d",
"object": "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Wachstum.swift.o",
"swiftmodule": "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Wachstum~partial.swiftmodule",
"swift-dependencies": "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Wachstum.swiftdeps",
"diagnostics": "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Wachstum.dia"
}
}
@@ -0,0 +1,4 @@
/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Modelle.swift
/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Nachsichtig.swift
/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Regeln.swift
/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Wachstum.swift
@@ -0,0 +1,17 @@
import Foundation
extension Foundation.Bundle {
static let module: Bundle = {
let mainPath = Bundle.main.bundleURL.appendingPathComponent("PokerfreakCockpit_CockpitKernTests.bundle").path
let buildPath = "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpit_CockpitKernTests.bundle"
let preferredBundle = Bundle(path: mainPath)
guard let bundle = preferredBundle ?? Bundle(path: buildPath) else {
// Users can write a function called fatalError themselves, we should be resilient against that.
Swift.fatalError("could not load resource bundle: from \(mainPath) or \(buildPath)")
}
return bundle
}()
}
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>de</string>
</dict>
</plist>
@@ -0,0 +1,26 @@
{
"": {
"swift-dependencies": "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/master.swiftdeps"
},
"/Users/marcmintel/Projects/pokerfreak-shell/mac/Tests/CockpitKernTests/NachrichtSpec.swift": {
"dependencies": "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/NachrichtSpec.d",
"object": "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/NachrichtSpec.swift.o",
"swiftmodule": "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/NachrichtSpec~partial.swiftmodule",
"swift-dependencies": "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/NachrichtSpec.swiftdeps",
"diagnostics": "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/NachrichtSpec.dia"
},
"/Users/marcmintel/Projects/pokerfreak-shell/mac/Tests/CockpitKernTests/RegelnSpec.swift": {
"dependencies": "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/RegelnSpec.d",
"object": "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/RegelnSpec.swift.o",
"swiftmodule": "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/RegelnSpec~partial.swiftmodule",
"swift-dependencies": "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/RegelnSpec.swiftdeps",
"diagnostics": "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/RegelnSpec.dia"
},
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/DerivedSources/resource_bundle_accessor.swift": {
"dependencies": "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/resource_bundle_accessor.d",
"object": "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/resource_bundle_accessor.swift.o",
"swiftmodule": "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/resource_bundle_accessor~partial.swiftmodule",
"swift-dependencies": "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/resource_bundle_accessor.swiftdeps",
"diagnostics": "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/resource_bundle_accessor.dia"
}
}
@@ -0,0 +1,3 @@
/Users/marcmintel/Projects/pokerfreak-shell/mac/Tests/CockpitKernTests/NachrichtSpec.swift
/Users/marcmintel/Projects/pokerfreak-shell/mac/Tests/CockpitKernTests/RegelnSpec.swift
/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/DerivedSources/resource_bundle_accessor.swift
@@ -0,0 +1 @@
/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/ModuleCache/Swift-O6KR1S6YD7L1.swiftmodule.lock-a9ef4b98
@@ -0,0 +1 @@
AE5F418E-91A6-5DE9-B757-2D62523FC73B 45954
@@ -0,0 +1,3 @@
module PokerfreakCockpitPackageTests {
header "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/include/PokerfreakCockpitPackageTests-Swift.h"
}
@@ -0,0 +1,12 @@
{
"": {
"swift-dependencies": "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/master.swiftdeps"
},
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.derived/runner.swift": {
"dependencies": "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/runner.d",
"object": "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/runner.swift.o",
"swiftmodule": "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/runner~partial.swiftmodule",
"swift-dependencies": "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/runner.swiftdeps",
"diagnostics": "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/runner.dia"
}
}
@@ -0,0 +1 @@
/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.derived/runner.swift
@@ -0,0 +1,547 @@
#if canImport(Testing)
import Testing
#endif
#if false
import Foundation
import XCTest
public final class SwiftPMXCTestObserver: NSObject {
public override init() {
super.init()
XCTestObservationCenter.shared.addTestObserver(self)
}
}
extension SwiftPMXCTestObserver: XCTestObservation {
var testOutputPath: String {
return "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/testOutput.txt"
}
private func write(record: any Encodable) {
let lock = FileLock(at: URL(fileURLWithPath: self.testOutputPath + ".lock"))
_ = try? lock.withLock {
self._write(record: record)
}
}
private func _write(record: any Encodable) {
if let data = try? JSONEncoder().encode(record) {
if let fileHandle = FileHandle(forWritingAtPath: self.testOutputPath) {
defer { fileHandle.closeFile() }
fileHandle.seekToEndOfFile()
fileHandle.write("\n".data(using: .utf8)!)
fileHandle.write(data)
} else {
_ = try? data.write(to: URL(fileURLWithPath: self.testOutputPath))
}
}
}
public func testBundleWillStart(_ testBundle: Bundle) {
let record = TestBundleEventRecord(bundle: .init(testBundle), event: .start)
write(record: TestEventRecord(bundleEvent: record))
}
public func testSuiteWillStart(_ testSuite: XCTestSuite) {
let record = TestSuiteEventRecord(suite: .init(testSuite), event: .start)
write(record: TestEventRecord(suiteEvent: record))
}
public func testCaseWillStart(_ testCase: XCTestCase) {
let record = TestCaseEventRecord(testCase: .init(testCase), event: .start)
write(record: TestEventRecord(caseEvent: record))
}
#if canImport(Darwin)
public func testCase(_ testCase: XCTestCase, didRecord issue: XCTIssue) {
let record = TestCaseFailureRecord(testCase: .init(testCase), issue: .init(issue), failureKind: .unexpected)
write(record: TestEventRecord(caseFailure: record))
}
public func testCase(_ testCase: XCTestCase, didRecord expectedFailure: XCTExpectedFailure) {
let record = TestCaseFailureRecord(testCase: .init(testCase), issue: .init(expectedFailure.issue), failureKind: .expected(failureReason: expectedFailure.failureReason))
write(record: TestEventRecord(caseFailure: record))
}
#else
public func testCase(_ testCase: XCTestCase, didFailWithDescription description: String, inFile filePath: String?, atLine lineNumber: Int) {
let issue = TestIssue(description: description, inFile: filePath, atLine: lineNumber)
let record = TestCaseFailureRecord(testCase: .init(testCase), issue: issue, failureKind: .unexpected)
write(record: TestEventRecord(caseFailure: record))
}
#endif
public func testCaseDidFinish(_ testCase: XCTestCase) {
let record = TestCaseEventRecord(testCase: .init(testCase), event: .finish)
write(record: TestEventRecord(caseEvent: record))
}
#if canImport(Darwin)
public func testSuite(_ testSuite: XCTestSuite, didRecord issue: XCTIssue) {
let record = TestSuiteFailureRecord(suite: .init(testSuite), issue: .init(issue), failureKind: .unexpected)
write(record: TestEventRecord(suiteFailure: record))
}
public func testSuite(_ testSuite: XCTestSuite, didRecord expectedFailure: XCTExpectedFailure) {
let record = TestSuiteFailureRecord(suite: .init(testSuite), issue: .init(expectedFailure.issue), failureKind: .expected(failureReason: expectedFailure.failureReason))
write(record: TestEventRecord(suiteFailure: record))
}
#else
public func testSuite(_ testSuite: XCTestSuite, didFailWithDescription description: String, inFile filePath: String?, atLine lineNumber: Int) {
let issue = TestIssue(description: description, inFile: filePath, atLine: lineNumber)
let record = TestSuiteFailureRecord(suite: .init(testSuite), issue: issue, failureKind: .unexpected)
write(record: TestEventRecord(suiteFailure: record))
}
#endif
public func testSuiteDidFinish(_ testSuite: XCTestSuite) {
let record = TestSuiteEventRecord(suite: .init(testSuite), event: .finish)
write(record: TestEventRecord(suiteEvent: record))
}
public func testBundleDidFinish(_ testBundle: Bundle) {
let record = TestBundleEventRecord(bundle: .init(testBundle), event: .finish)
write(record: TestEventRecord(bundleEvent: record))
}
}
// FIXME: Copied from `Lock.swift` in TSCBasic, would be nice if we had a better way
#if canImport(Glibc)
@_exported import Glibc
#elseif canImport(Musl)
@_exported import Musl
#elseif os(Windows)
@_exported import CRT
@_exported import WinSDK
#elseif os(WASI)
@_exported import WASILibc
#elseif canImport(Android)
@_exported import Android
#else
@_exported import Darwin.C
#endif
import Foundation
public final class FileLock {
#if os(Windows)
private var handle: HANDLE?
#else
private var fileDescriptor: CInt?
#endif
private let lockFile: URL
public init(at lockFile: URL) {
self.lockFile = lockFile
}
public func lock() throws {
#if os(Windows)
if handle == nil {
let h: HANDLE = lockFile.path.withCString(encodedAs: UTF16.self, {
CreateFileW(
$0,
UInt32(GENERIC_READ) | UInt32(GENERIC_WRITE),
UInt32(FILE_SHARE_READ) | UInt32(FILE_SHARE_WRITE),
nil,
DWORD(OPEN_ALWAYS),
DWORD(FILE_ATTRIBUTE_NORMAL),
nil
)
})
if h == INVALID_HANDLE_VALUE {
throw FileSystemError(errno: Int32(GetLastError()), lockFile)
}
self.handle = h
}
var overlapped = OVERLAPPED()
overlapped.Offset = 0
overlapped.OffsetHigh = 0
overlapped.hEvent = nil
if !LockFileEx(handle, DWORD(LOCKFILE_EXCLUSIVE_LOCK), 0,
UInt32.max, UInt32.max, &overlapped) {
throw ProcessLockError.unableToAquireLock(errno: Int32(GetLastError()))
}
#elseif os(WASI)
// WASI doesn't support flock
#else
if fileDescriptor == nil {
let fd = open(lockFile.path, O_WRONLY | O_CREAT | O_CLOEXEC, 0o666)
if fd == -1 {
fatalError("errno: \(errno), lockFile: \(lockFile)")
}
self.fileDescriptor = fd
}
while true {
if flock(fileDescriptor!, LOCK_EX) == 0 {
break
}
if errno == EINTR { continue }
fatalError("unable to acquire lock, errno: \(errno)")
}
#endif
}
public func unlock() {
#if os(Windows)
var overlapped = OVERLAPPED()
overlapped.Offset = 0
overlapped.OffsetHigh = 0
overlapped.hEvent = nil
UnlockFileEx(handle, 0, UInt32.max, UInt32.max, &overlapped)
#elseif os(WASI)
// WASI doesn't support flock
#else
guard let fd = fileDescriptor else { return }
flock(fd, LOCK_UN)
#endif
}
deinit {
#if os(Windows)
guard let handle = handle else { return }
CloseHandle(handle)
#elseif os(WASI)
// WASI doesn't support flock
#else
guard let fd = fileDescriptor else { return }
close(fd)
#endif
}
public func withLock<T>(_ body: () throws -> T) throws -> T {
try lock()
defer { unlock() }
return try body()
}
public func withLock<T>(_ body: () async throws -> T) async throws -> T {
try lock()
defer { unlock() }
return try await body()
}
}
// FIXME: Copied from `XCTEvents.swift`, would be nice if we had a better way
struct TestEventRecord: Codable {
let caseFailure: TestCaseFailureRecord?
let suiteFailure: TestSuiteFailureRecord?
let bundleEvent: TestBundleEventRecord?
let suiteEvent: TestSuiteEventRecord?
let caseEvent: TestCaseEventRecord?
init(
caseFailure: TestCaseFailureRecord? = nil,
suiteFailure: TestSuiteFailureRecord? = nil,
bundleEvent: TestBundleEventRecord? = nil,
suiteEvent: TestSuiteEventRecord? = nil,
caseEvent: TestCaseEventRecord? = nil
) {
self.caseFailure = caseFailure
self.suiteFailure = suiteFailure
self.bundleEvent = bundleEvent
self.suiteEvent = suiteEvent
self.caseEvent = caseEvent
}
}
// MARK: - Records
struct TestAttachment: Codable {
let name: String?
// TODO: Handle `userInfo: [AnyHashable : Any]?`
let uniformTypeIdentifier: String
let payload: Data?
}
struct TestBundleEventRecord: Codable {
let bundle: TestBundle
let event: TestEvent
}
struct TestCaseEventRecord: Codable {
let testCase: TestCase
let event: TestEvent
}
struct TestCaseFailureRecord: Codable, CustomStringConvertible {
let testCase: TestCase
let issue: TestIssue
let failureKind: TestFailureKind
var description: String {
return "\(issue.sourceCodeContext.description)\(testCase) \(issue.compactDescription)"
}
}
struct TestSuiteEventRecord: Codable {
let suite: TestSuiteRecord
let event: TestEvent
}
struct TestSuiteFailureRecord: Codable {
let suite: TestSuiteRecord
let issue: TestIssue
let failureKind: TestFailureKind
}
// MARK: Primitives
struct TestBundle: Codable {
let bundleIdentifier: String?
let bundlePath: String
}
struct TestCase: Codable {
let name: String
}
struct TestErrorInfo: Codable {
let description: String
let type: String
}
enum TestEvent: Codable {
case start
case finish
}
enum TestFailureKind: Codable, Equatable {
case unexpected
case expected(failureReason: String?)
var isExpected: Bool {
switch self {
case .expected: return true
case .unexpected: return false
}
}
}
struct TestIssue: Codable {
let type: TestIssueType
let compactDescription: String
let detailedDescription: String?
let associatedError: TestErrorInfo?
let sourceCodeContext: TestSourceCodeContext
let attachments: [TestAttachment]
}
enum TestIssueType: Codable {
case assertionFailure
case performanceRegression
case system
case thrownError
case uncaughtException
case unmatchedExpectedFailure
case unknown
}
struct TestLocation: Codable, CustomStringConvertible {
let file: String
let line: Int
var description: String {
return "\(file):\(line) "
}
}
struct TestSourceCodeContext: Codable, CustomStringConvertible {
let callStack: [TestSourceCodeFrame]
let location: TestLocation?
var description: String {
return location?.description ?? ""
}
}
struct TestSourceCodeFrame: Codable {
let address: UInt64
let symbolInfo: TestSourceCodeSymbolInfo?
let symbolicationError: TestErrorInfo?
}
struct TestSourceCodeSymbolInfo: Codable {
let imageName: String
let symbolName: String
let location: TestLocation?
}
struct TestSuiteRecord: Codable {
let name: String
}
// MARK: XCTest compatibility
extension TestIssue {
init(description: String, inFile filePath: String?, atLine lineNumber: Int) {
let location: TestLocation?
if let filePath = filePath {
location = .init(file: filePath, line: lineNumber)
} else {
location = nil
}
self.init(type: .assertionFailure, compactDescription: description, detailedDescription: description, associatedError: nil, sourceCodeContext: .init(callStack: [], location: location), attachments: [])
}
}
import XCTest
#if canImport(Darwin) // XCTAttachment is unavailable in swift-corelibs-xctest.
extension TestAttachment {
init(_ attachment: XCTAttachment) {
self.init(
name: attachment.name,
uniformTypeIdentifier: attachment.uniformTypeIdentifier,
payload: attachment.value(forKey: "payload") as? Data
)
}
}
#endif
extension TestBundle {
init(_ testBundle: Bundle) {
self.init(
bundleIdentifier: testBundle.bundleIdentifier,
bundlePath: testBundle.bundlePath
)
}
}
extension TestCase {
init(_ testCase: XCTestCase) {
self.init(name: testCase.name)
}
}
extension TestErrorInfo {
init(_ error: any Swift.Error) {
self.init(description: "\(error)", type: "\(Swift.type(of: error))")
}
}
#if canImport(Darwin) // XCTIssue is unavailable in swift-corelibs-xctest.
extension TestIssue {
init(_ issue: XCTIssue) {
self.init(
type: .init(issue.type),
compactDescription: issue.compactDescription,
detailedDescription: issue.detailedDescription,
associatedError: issue.associatedError.map { .init($0) },
sourceCodeContext: .init(issue.sourceCodeContext),
attachments: issue.attachments.map { .init($0) }
)
}
}
extension TestIssueType {
init(_ type: XCTIssue.IssueType) {
switch type {
case .assertionFailure: self = .assertionFailure
case .thrownError: self = .thrownError
case .uncaughtException: self = .uncaughtException
case .performanceRegression: self = .performanceRegression
case .system: self = .system
case .unmatchedExpectedFailure: self = .unmatchedExpectedFailure
@unknown default: self = .unknown
}
}
}
#endif
#if canImport(Darwin) // XCTSourceCodeLocation/XCTSourceCodeContext/XCTSourceCodeFrame/XCTSourceCodeSymbolInfo is unavailable in swift-corelibs-xctest.
extension TestLocation {
init(_ location: XCTSourceCodeLocation) {
self.init(
file: location.fileURL.absoluteString,
line: location.lineNumber
)
}
}
extension TestSourceCodeContext {
init(_ context: XCTSourceCodeContext) {
self.init(
callStack: context.callStack.map { .init($0) },
location: context.location.map { .init($0) }
)
}
}
extension TestSourceCodeFrame {
init(_ frame: XCTSourceCodeFrame) {
self.init(
address: frame.address,
symbolInfo: (try? frame.symbolInfo()).map { .init($0) },
symbolicationError: frame.symbolicationError.map { .init($0) }
)
}
}
extension TestSourceCodeSymbolInfo {
init(_ symbolInfo: XCTSourceCodeSymbolInfo) {
self.init(
imageName: symbolInfo.imageName,
symbolName: symbolInfo.symbolName,
location: symbolInfo.location.map { .init($0) }
)
}
}
#endif
extension TestSuiteRecord {
init(_ testSuite: XCTestSuite) {
self.init(name: testSuite.name)
}
}
import XCTest
#endif
@main
@available(macOS 10.15, iOS 11, watchOS 4, tvOS 11, *)
@available(*, deprecated, message: "Not actually deprecated. Marked as deprecated to allow inclusion of deprecated tests (which test deprecated functionality) without warnings")
struct Runner {
private static func testingLibrary() -> String {
var iterator = CommandLine.arguments.makeIterator()
while let argument = iterator.next() {
if argument == "--testing-library", let libraryName = iterator.next() {
return libraryName.lowercased()
}
}
// Fallback if not specified: run XCTest (legacy behavior)
return "xctest"
}
#if false
@_silgen_name("$ss13_runAsyncMainyyyyYaKcF")
private static func _runAsyncMain(_ asyncFun: @Sendable @escaping () async throws -> ())
#endif
static func main() async {
let testingLibrary = Self.testingLibrary()
#if canImport(Testing)
if testingLibrary == "swift-testing" {
#if false
_runAsyncMain {
await Testing.__swiftPMEntryPoint() as Never
}
#else
await Testing.__swiftPMEntryPoint() as Never
#endif
}
#endif
#if false
if testingLibrary == "xctest" {
XCTMain(__allDiscoveredTests()) as Never
}
#endif
}
}
@@ -0,0 +1,520 @@
{
"typ": "ansicht",
"teile": {
"kopf": {
"laeuft": true,
"text": "läuft seit 18:09",
"seit": 1793293791.0,
"zuletzt": 1793294407.0,
"laufzeit_s": 627.4,
"tische": [],
"tische_offen": 0,
"tische_text": "0 offen, 0 sitzend",
"modus": "Übung",
"modus_quelle": "Dialog",
"klon": false,
"not_aus": false,
"guthaben": null,
"pid": null,
"status": {
"zustand": "liest",
"farbe": "blau",
"satz": "liest den Client - noch kein Tisch"
},
"leer": null
},
"jetzt": {
"raum": null,
"hand": "166547800145",
"strasse": "Turn",
"karten": [
"As",
"Ah"
],
"board": [
"FLOP",
"TURN"
],
"topf": 85931.48,
"zu_zahlen": 0.0,
"stack": 47314.26,
"zug": {
"offen": false,
"frist_s": null,
"bis": null,
"seit": 1793293590.0
},
"entscheidung": {
"aktion": "ABSTAIN",
"aktion_text": "Aussetzen",
"betrag": null,
"betrag_bb": null,
"grund": "Übersetzung setzt aus: Knopf unbekannt (Hand vor dem Logbeginn angefangen)",
"klartext": "Übersetzung setzt aus: Knopf unbekannt (Hand vor dem Logbeginn angefangen)",
"equity": null,
"confidence": null,
"gedenkzeit_s": 0.0,
"zeit": 1793293590.0
},
"klick": {
"status": "ausgesetzt",
"warum": "der Kern setzt aus",
"beleg": ""
},
"leer": null
},
"wachstum": {
"ergebnis_kurve": [
{
"t": 1793287940.0,
"chips": -2320.0,
"bb": -1.16
}
],
"stapel": [
{
"raum": "Big Ben 1672117",
"punkte": [
{
"t": 1793287981.0,
"stack": 77680.0
},
{
"t": 1793287985.0,
"stack": 77680.0
}
]
},
{
"raum": "unbekannt",
"punkte": [
{
"t": 1793198831.0,
"stack": 9.9
},
{
"t": 1793199213.0,
"stack": 2.4
},
{
"t": 1793199213.0,
"stack": 2.4
}
]
}
],
"bb100": [
{
"stake": "1000/2000",
"bb": 2000.0,
"haende": 1,
"bb100": -116.0,
"unten": null,
"oben": null
}
],
"sitzungen": [
{
"raum": "Big Ben 1672117",
"von": 1793287766.0,
"bis": 1793288986.0,
"haende": 1,
"netto_bb": -1.16,
"bb100": -116.0,
"unten": null,
"oben": null
}
],
"je_stunde": [
{
"stunde": 1793286000.0,
"haende": 1
}
],
"verteilung": [
{
"von": null,
"bis": -50,
"anzahl": 0
},
{
"von": -50,
"bis": -20,
"anzahl": 0
},
{
"von": -20,
"bis": -10,
"anzahl": 0
}
],
"bestand": {
"ergebnis_kurve": [],
"bb100": [],
"je_stunde": [],
"verteilung": [
{
"von": null,
"bis": -50,
"anzahl": 0
},
{
"von": -50,
"bis": -20,
"anzahl": 0
},
{
"von": -20,
"bis": -10,
"anzahl": 0
}
],
"summe": {
"haende": 0,
"netto_bb": 0.0,
"gewonnen": 0,
"verloren": 0
},
"haende": 0,
"von": null,
"bis": null,
"rechnet": true,
"grundlage": "0 Sitz-Hände aller Spieler aus dem Archiv (archiv/echt/main*.log.gz)",
"leer": "Bestand wird gerechnet - gleich da"
},
"grundlage": "1 eigene Hände (Protokoll und Statistik, Spieler mmintel)",
"summe": {
"haende": 1,
"netto_bb": -1.16,
"gewonnen": 0,
"verloren": 1
},
"leer": null
},
"entscheidungen": {
"zeilen": [
{
"zeit": 1793293590.0,
"raum": null,
"hand": "166547800145",
"strasse": "Turn",
"karten": [
"As",
"Ah"
],
"board": [
"FLOP",
"TURN"
],
"aktion": "ABSTAIN",
"aktion_text": "Aussetzen",
"betrag_bb": null,
"grund": "Übersetzung setzt aus: Knopf unbekannt (Hand vor dem Logbeginn angefangen)",
"klartext": "Übersetzung setzt aus: Knopf unbekannt (Hand vor dem Logbeginn angefangen)",
"equity": null,
"confidence": null,
"stake": null,
"spielart": "NLHE",
"ergebnis_bb": null,
"ergebnis_text": "offen",
"klick": "ausgesetzt",
"klick_warum": "der Kern setzt aus",
"beleg": "",
"gedenkzeit_s": 0.0
},
{
"zeit": 1793293590.0,
"raum": null,
"hand": "166344000006",
"strasse": "Flop",
"karten": [
"As",
"Kc",
"Qc"
],
"board": [
"FLOP"
],
"aktion": "RAISE",
"aktion_text": "Raise auf 1 BB",
"betrag_bb": 1.0,
"grund": "double board: board 2 judged better (equity 0.66 against 0.57); approximation: better board although the pot split halves it - top pair good kicker on medium board: equity 0.66 vs break-even 0.00, EV raise to 0.05 +0.15",
"klartext": "Double board: board 2 judged better (Equity 0.66 gegen 0.57); approximation: better board although the pot split halves it - top pair good kicker on medium board: Equity 0.66 gegen nötige 0.00, EV Raise auf 0.05 +0.15",
"equity": 0.66,
"confidence": 0.744,
"stake": "0.025/0.05",
"spielart": "PLO4",
"ergebnis_bb": null,
"ergebnis_text": "offen",
"klick": "Schatten",
"klick_warum": "nur protokolliert, nicht geklickt",
"beleg": "",
"gedenkzeit_s": 0.0
},
{
"zeit": 1793293586.0,
"raum": null,
"hand": "166344000006",
"strasse": "Flop",
"karten": [
"As",
"Kc",
"Qc"
],
"board": [
"FLOP"
],
"aktion": "RAISE",
"aktion_text": "Raise auf 1 BB",
"betrag_bb": 1.0,
"grund": "double board: board 2 judged better (equity 0.66 against 0.57); approximation: better board although the pot split halves it - top pair good kicker on medium board: equity 0.66 vs break-even 0.00, EV raise to 0.05 +0.15",
"klartext": "Double board: board 2 judged better (Equity 0.66 gegen 0.57); approximation: better board although the pot split halves it - top pair good kicker on medium board: Equity 0.66 gegen nötige 0.00, EV Raise auf 0.05 +0.15",
"equity": 0.66,
"confidence": 0.744,
"stake": "0.025/0.05",
"spielart": "PLO4",
"ergebnis_bb": null,
"ergebnis_text": "offen",
"klick": "Schatten",
"klick_warum": "nur protokolliert, nicht geklickt",
"beleg": "",
"gedenkzeit_s": 0.0
}
],
"facetten": {
"aktion": [
"ABSTAIN",
"CALL",
"CHECK"
],
"stake": [
"0.025/0.05",
"0.05/0.1",
"1000/2000"
],
"spielart": [
"NLHE",
"PLO4"
],
"ergebnis": [
"gewonnen",
"verloren",
"null"
]
},
"gesamt": 467,
"angezeigt": 467,
"gekappt": false,
"ausschnitt": false,
"hinweis": null,
"leer": null
},
"geld": {
"zeilen": [
{
"zeit": 1793288043.0,
"raum": "Big Ben 1672117",
"art": "Ausgesetzt",
"betrag": null,
"betrag_bb": null,
"stack": null,
"grund": "Stakes oder Stack unbekannt",
"geklickt": null,
"hinweis": "",
"uebung": true
},
{
"zeit": 1793288023.0,
"raum": "Big Ben 1672117",
"art": "Ausgesetzt",
"betrag": null,
"betrag_bb": null,
"stack": null,
"grund": "Stakes oder Stack unbekannt",
"geklickt": null,
"hinweis": "",
"uebung": true
},
{
"zeit": 1793288015.0,
"raum": "Big Ben 1672117",
"art": "Ausgesetzt",
"betrag": null,
"betrag_bb": null,
"stack": null,
"grund": "Stakes oder Stack unbekannt",
"geklickt": null,
"hinweis": "",
"uebung": true
}
],
"uebung": true,
"leer": null
},
"sitzen": {
"raeume": [
{
"raum": "Big Ben 1667798",
"zustand": "unbekannt",
"platz": null,
"stack": null,
"freie": [],
"groesse": null,
"bb": null,
"modus": null,
"handlung": {
"art": "aussetzen",
"grund": "Tischgröße unbekannt (kein game_alldata)",
"zeit": 1793289013.0,
"geklickt": null,
"hinweis": ""
},
"fenster": 0
},
{
"raum": "Big Ben 1668823",
"zustand": "unbekannt",
"platz": null,
"stack": null,
"freie": [],
"groesse": null,
"bb": null,
"modus": null,
"handlung": {
"art": "aussetzen",
"grund": "Tischgröße unbekannt (kein game_alldata)",
"zeit": 1793293771.0,
"geklickt": null,
"hinweis": ""
},
"fenster": 0
},
{
"raum": "Big Ben 1669173",
"zustand": "unbekannt",
"platz": null,
"stack": null,
"freie": [],
"groesse": null,
"bb": null,
"modus": null,
"handlung": {
"art": "claim",
"grund": "Claim Chips offen",
"zeit": 1793287516.0,
"geklickt": [
"claim"
],
"hinweis": ""
},
"fenster": 0
}
],
"fenster": {
"zahl": 0,
"ueberzaehlig": []
},
"leer": null
},
"stil": {
"verlauf": [
{
"fold": 0.25,
"check": 0.3,
"call": 0.15,
"raise": 0.2,
"allin": 0.1,
"n": 20,
"t": 1793198831.0
},
{
"fold": 0.15,
"check": 0.45,
"call": 0.05,
"raise": 0.35,
"allin": 0.0,
"n": 20,
"t": 1793229162.0
},
{
"fold": 0.05,
"check": 0.1,
"call": 0.15,
"raise": 0.5,
"allin": 0.2,
"n": 20,
"t": 1793229651.0
}
],
"groessen": [
{
"betrag_bb": 2.0,
"topf_anteil": 0.93
},
{
"betrag_bb": 76.8,
"topf_anteil": 19.2
},
{
"betrag_bb": 2.0,
"topf_anteil": 0.87
}
],
"denkzeiten": [
{
"s": 1.5
},
{
"s": 1.5
},
{
"s": 1.71
}
],
"denkzeit": {
"median": 4.0,
"streuung": 2.921,
"vk": 0.588,
"n": 28
},
"anteile": {
"fold": 0.108,
"check": 0.16,
"call": 0.093,
"raise": 0.561,
"allin": 0.078,
"n": 399
},
"leer": null
},
"ticker": {
"zeilen": [
{
"zeit": 1793294407.0,
"art": "sitzen",
"raum": "Big Ben 1672022",
"text": "Sitzen (aussetzen): Tischgröße unbekannt (kein game_alldata)."
},
{
"zeit": 1793294398.0,
"art": "sitzen",
"raum": "Big Ben 1672022",
"text": "Sitzen (aussetzen): Tischgröße unbekannt (kein game_alldata)."
},
{
"zeit": 1793294389.0,
"art": "sitzen",
"raum": "Big Ben 1672022",
"text": "Sitzen (aussetzen): Tischgröße unbekannt (kein game_alldata)."
}
],
"gedanken": [
"18:06:30 Hand 166547800145 Turn: Aussetzen | Grund: Übersetzung setzt aus: Knopf unbekannt (Hand vor dem Logbeginn angefangen) | Ergebnis: offen",
"18:06:30 Hand 166344000006 Flop: Raise auf 1 BB | Konfidenz 0,74 | Equity 66 % | Grund: double board: board 2 judged better (equity 0.66 against 0.57); approximation: better board although the pot split halves it - top pair good kicker on medium board: equity 0.66 vs break-even 0.00, EV raise to 0.05 +0.15 | Ergebnis: offen",
"18:06:26 Hand 166344000006 Flop: Raise auf 1 BB | Konfidenz 0,74 | Equity 66 % | Grund: double board: board 2 judged better (equity 0.66 against 0.57); approximation: better board although the pot split halves it - top pair good kicker on medium board: equity 0.66 vs break-even 0.00, EV raise to 0.05 +0.15 | Ergebnis: offen"
],
"leer": null
}
},
"stand": 1793294407.5
}
@@ -0,0 +1,8 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>CFBundleDevelopmentRegion</key>
<string>de</string>
</dict>
</plist>
@@ -0,0 +1,692 @@
{
"builtTestProducts" : [
{
"binaryPath" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.xctest/Contents/MacOS/PokerfreakCockpitPackageTests",
"packagePath" : "/Users/marcmintel/Projects/pokerfreak-shell/mac",
"productName" : "PokerfreakCockpitPackageTests"
}
],
"copyCommands" : {
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpit_CockpitKernTests.bundle/Fixtures" : {
"inputs" : [
{
"kind" : "directory",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/Tests/CockpitKernTests/Fixtures"
}
],
"outputs" : [
{
"kind" : "directory",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpit_CockpitKernTests.bundle/Fixtures"
}
]
},
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpit_CockpitKernTests.bundle/Info.plist" : {
"inputs" : [
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/Info.plist"
}
],
"outputs" : [
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpit_CockpitKernTests.bundle/Info.plist"
}
]
}
},
"explicitTargetDependencyImportCheckingMode" : {
"none" : {
}
},
"generatedSourceTargetSet" : [
],
"pluginDescriptions" : [
],
"swiftCommands" : {
"C.CockpitKern-arm64-apple-macosx26.0-debug.module" : {
"executable" : "/Library/Developer/CommandLineTools/usr/bin/swiftc",
"fileList" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/sources",
"importPath" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules",
"inputs" : [
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Modelle.swift"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Nachsichtig.swift"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Regeln.swift"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Wachstum.swift"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/swift-version--1AB21518FC5DEDBE.txt"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/sources"
}
],
"isLibrary" : true,
"moduleName" : "CockpitKern",
"moduleOutputPath" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules/CockpitKern.swiftmodule",
"objects" : [
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Modelle.swift.o",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Nachsichtig.swift.o",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Regeln.swift.o",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Wachstum.swift.o"
],
"otherArguments" : [
"-target",
"arm64-apple-macosx26.0",
"-incremental",
"-enable-batch-mode",
"-serialize-diagnostics",
"-index-store-path",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/index/store",
"-Onone",
"-enable-testing",
"-j16",
"-DSWIFT_PACKAGE",
"-DDEBUG",
"-DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE",
"-module-cache-path",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/ModuleCache",
"-parseable-output",
"-parse-as-library",
"-emit-objc-header",
"-emit-objc-header-path",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/include/CockpitKern-Swift.h",
"-swift-version",
"6",
"-I",
"/Library/Developer/CommandLineTools/Library/Developer/Frameworks",
"-L",
"/Library/Developer/CommandLineTools/Library/Developer/Frameworks",
"-plugin-path",
"/Library/Developer/CommandLineTools/usr/lib/swift/host/plugins/testing",
"-sdk",
"/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk",
"-g",
"-Xcc",
"-isysroot",
"-Xcc",
"/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk",
"-Xcc",
"-fPIC",
"-Xcc",
"-g",
"-package-name",
"mac"
],
"outputFileMapPath" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/output-file-map.json",
"outputs" : [
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Modelle.swift.o"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Nachsichtig.swift.o"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Regeln.swift.o"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Wachstum.swift.o"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules/CockpitKern.swiftmodule"
}
],
"prepareForIndexing" : false,
"sources" : [
"/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Modelle.swift",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Nachsichtig.swift",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Regeln.swift",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Wachstum.swift"
],
"tempsPath" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build",
"wholeModuleOptimization" : false
},
"C.CockpitKernTests-arm64-apple-macosx26.0-debug.module" : {
"executable" : "/Library/Developer/CommandLineTools/usr/bin/swiftc",
"fileList" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/sources",
"importPath" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules",
"inputs" : [
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/Tests/CockpitKernTests/NachrichtSpec.swift"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/Tests/CockpitKernTests/RegelnSpec.swift"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/DerivedSources/resource_bundle_accessor.swift"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/swift-version--1AB21518FC5DEDBE.txt"
},
{
"kind" : "virtual",
"name" : "<CockpitKernTests-arm64-apple-macosx26.0-debug.module-resources>"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules/CockpitKern.swiftmodule"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/sources"
}
],
"isLibrary" : true,
"moduleName" : "CockpitKernTests",
"moduleOutputPath" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules/CockpitKernTests.swiftmodule",
"objects" : [
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/NachrichtSpec.swift.o",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/RegelnSpec.swift.o",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/resource_bundle_accessor.swift.o"
],
"otherArguments" : [
"-target",
"arm64-apple-macosx26.0",
"-incremental",
"-enable-batch-mode",
"-serialize-diagnostics",
"-index-store-path",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/index/store",
"-Onone",
"-enable-testing",
"-Xfrontend",
"-enable-cross-import-overlays",
"-j16",
"-DSWIFT_PACKAGE",
"-DDEBUG",
"-DSWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE",
"-module-cache-path",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/ModuleCache",
"-parseable-output",
"-parse-as-library",
"-swift-version",
"6",
"-I",
"/Library/Developer/CommandLineTools/Library/Developer/Frameworks",
"-L",
"/Library/Developer/CommandLineTools/Library/Developer/Frameworks",
"-plugin-path",
"/Library/Developer/CommandLineTools/usr/lib/swift/host/plugins/testing",
"-sdk",
"/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk",
"-g",
"-Xcc",
"-isysroot",
"-Xcc",
"/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk",
"-Xcc",
"-fPIC",
"-Xcc",
"-g",
"-package-name",
"mac"
],
"outputFileMapPath" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/output-file-map.json",
"outputs" : [
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/NachrichtSpec.swift.o"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/RegelnSpec.swift.o"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/resource_bundle_accessor.swift.o"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules/CockpitKernTests.swiftmodule"
}
],
"prepareForIndexing" : false,
"sources" : [
"/Users/marcmintel/Projects/pokerfreak-shell/mac/Tests/CockpitKernTests/NachrichtSpec.swift",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/Tests/CockpitKernTests/RegelnSpec.swift",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/DerivedSources/resource_bundle_accessor.swift"
],
"tempsPath" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build",
"wholeModuleOptimization" : false
},
"C.PokerfreakCockpitPackageTests-arm64-apple-macosx26.0-debug.module" : {
"executable" : "/Library/Developer/CommandLineTools/usr/bin/swiftc",
"fileList" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/sources",
"importPath" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules",
"inputs" : [
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.derived/runner.swift"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/swift-version--1AB21518FC5DEDBE.txt"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules/CockpitKernTests.swiftmodule"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/sources"
}
],
"isLibrary" : true,
"moduleName" : "PokerfreakCockpitPackageTests",
"moduleOutputPath" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules/PokerfreakCockpitPackageTests.swiftmodule",
"objects" : [
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/runner.swift.o"
],
"otherArguments" : [
"-target",
"arm64-apple-macosx26.0",
"-incremental",
"-enable-batch-mode",
"-serialize-diagnostics",
"-index-store-path",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/index/store",
"-Onone",
"-enable-testing",
"-Xfrontend",
"-enable-cross-import-overlays",
"-j16",
"-DSWIFT_PACKAGE",
"-DDEBUG",
"-DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE",
"-module-cache-path",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/ModuleCache",
"-parseable-output",
"-parse-as-library",
"-emit-objc-header",
"-emit-objc-header-path",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/include/PokerfreakCockpitPackageTests-Swift.h",
"-I",
"/Library/Developer/CommandLineTools/Library/Developer/Frameworks",
"-L",
"/Library/Developer/CommandLineTools/Library/Developer/Frameworks",
"-plugin-path",
"/Library/Developer/CommandLineTools/usr/lib/swift/host/plugins/testing",
"-sdk",
"/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk",
"-g",
"-Xcc",
"-isysroot",
"-Xcc",
"/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk",
"-Xcc",
"-fPIC",
"-Xcc",
"-g",
"-package-name",
"mac"
],
"outputFileMapPath" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/output-file-map.json",
"outputs" : [
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/runner.swift.o"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules/PokerfreakCockpitPackageTests.swiftmodule"
}
],
"prepareForIndexing" : false,
"sources" : [
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.derived/runner.swift"
],
"tempsPath" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build",
"wholeModuleOptimization" : false
}
},
"swiftFrontendCommands" : {
},
"swiftTargetScanArgs" : {
"CockpitKern" : [
"/Library/Developer/CommandLineTools/usr/bin/swiftc",
"-module-name",
"CockpitKern",
"-package-name",
"mac",
"-c",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Modelle.swift",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Nachsichtig.swift",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Regeln.swift",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Wachstum.swift",
"-I",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules",
"-target",
"arm64-apple-macosx26.0",
"-incremental",
"-enable-batch-mode",
"-serialize-diagnostics",
"-index-store-path",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/index/store",
"-Onone",
"-enable-testing",
"-j16",
"-DSWIFT_PACKAGE",
"-DDEBUG",
"-DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE",
"-module-cache-path",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/ModuleCache",
"-parseable-output",
"-parse-as-library",
"-emit-objc-header",
"-emit-objc-header-path",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/include/CockpitKern-Swift.h",
"-swift-version",
"6",
"-I",
"/Library/Developer/CommandLineTools/Library/Developer/Frameworks",
"-L",
"/Library/Developer/CommandLineTools/Library/Developer/Frameworks",
"-plugin-path",
"/Library/Developer/CommandLineTools/usr/lib/swift/host/plugins/testing",
"-sdk",
"/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk",
"-g",
"-Xcc",
"-isysroot",
"-Xcc",
"/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk",
"-Xcc",
"-fPIC",
"-Xcc",
"-g",
"-package-name",
"mac",
"-driver-use-frontend-path",
"/Library/Developer/CommandLineTools/usr/bin/swiftc"
],
"CockpitKernTests" : [
"/Library/Developer/CommandLineTools/usr/bin/swiftc",
"-module-name",
"CockpitKernTests",
"-package-name",
"mac",
"-c",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/Tests/CockpitKernTests/NachrichtSpec.swift",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/Tests/CockpitKernTests/RegelnSpec.swift",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/DerivedSources/resource_bundle_accessor.swift",
"-I",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules",
"-target",
"arm64-apple-macosx26.0",
"-incremental",
"-enable-batch-mode",
"-serialize-diagnostics",
"-index-store-path",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/index/store",
"-Onone",
"-enable-testing",
"-Xfrontend",
"-enable-cross-import-overlays",
"-j16",
"-DSWIFT_PACKAGE",
"-DDEBUG",
"-DSWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE",
"-module-cache-path",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/ModuleCache",
"-parseable-output",
"-parse-as-library",
"-swift-version",
"6",
"-I",
"/Library/Developer/CommandLineTools/Library/Developer/Frameworks",
"-L",
"/Library/Developer/CommandLineTools/Library/Developer/Frameworks",
"-plugin-path",
"/Library/Developer/CommandLineTools/usr/lib/swift/host/plugins/testing",
"-sdk",
"/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk",
"-g",
"-Xcc",
"-isysroot",
"-Xcc",
"/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk",
"-Xcc",
"-fPIC",
"-Xcc",
"-g",
"-package-name",
"mac",
"-driver-use-frontend-path",
"/Library/Developer/CommandLineTools/usr/bin/swiftc"
],
"PokerfreakCockpitPackageTests" : [
"/Library/Developer/CommandLineTools/usr/bin/swiftc",
"-module-name",
"PokerfreakCockpitPackageTests",
"-package-name",
"mac",
"-c",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.derived/runner.swift",
"-I",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules",
"-target",
"arm64-apple-macosx26.0",
"-incremental",
"-enable-batch-mode",
"-serialize-diagnostics",
"-index-store-path",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/index/store",
"-Onone",
"-enable-testing",
"-Xfrontend",
"-enable-cross-import-overlays",
"-j16",
"-DSWIFT_PACKAGE",
"-DDEBUG",
"-DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE",
"-module-cache-path",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/ModuleCache",
"-parseable-output",
"-parse-as-library",
"-emit-objc-header",
"-emit-objc-header-path",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/include/PokerfreakCockpitPackageTests-Swift.h",
"-I",
"/Library/Developer/CommandLineTools/Library/Developer/Frameworks",
"-L",
"/Library/Developer/CommandLineTools/Library/Developer/Frameworks",
"-plugin-path",
"/Library/Developer/CommandLineTools/usr/lib/swift/host/plugins/testing",
"-sdk",
"/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk",
"-g",
"-Xcc",
"-isysroot",
"-Xcc",
"/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk",
"-Xcc",
"-fPIC",
"-Xcc",
"-g",
"-package-name",
"mac",
"-driver-use-frontend-path",
"/Library/Developer/CommandLineTools/usr/bin/swiftc"
]
},
"targetDependencyMap" : {
"CockpitKern" : [
],
"CockpitKernTests" : [
"CockpitKern"
],
"PokerfreakCockpitPackageTests" : [
"CockpitKernTests",
"CockpitKern"
]
},
"testDiscoveryCommands" : {
},
"testEntryPointCommands" : {
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.derived/runner.swift" : {
"inputs" : [
],
"outputs" : [
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.derived/runner.swift"
}
]
}
},
"traitConfiguration" : {
"default" : {
}
},
"writeCommands" : {
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/sources" : {
"alwaysOutOfDate" : false,
"inputs" : [
{
"kind" : "virtual",
"name" : "<sources-file-list>"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Modelle.swift"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Nachsichtig.swift"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Regeln.swift"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Wachstum.swift"
}
],
"outputFilePath" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/sources"
},
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/sources" : {
"alwaysOutOfDate" : false,
"inputs" : [
{
"kind" : "virtual",
"name" : "<sources-file-list>"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/Tests/CockpitKernTests/NachrichtSpec.swift"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/Tests/CockpitKernTests/RegelnSpec.swift"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/DerivedSources/resource_bundle_accessor.swift"
}
],
"outputFilePath" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/sources"
},
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/sources" : {
"alwaysOutOfDate" : false,
"inputs" : [
{
"kind" : "virtual",
"name" : "<sources-file-list>"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.derived/runner.swift"
}
],
"outputFilePath" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/sources"
},
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.product/Objects.LinkFileList" : {
"alwaysOutOfDate" : false,
"inputs" : [
{
"kind" : "virtual",
"name" : "<link-file-list>"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Modelle.swift.o"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Nachsichtig.swift.o"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Regeln.swift.o"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Wachstum.swift.o"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/NachrichtSpec.swift.o"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/RegelnSpec.swift.o"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/resource_bundle_accessor.swift.o"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/runner.swift.o"
}
],
"outputFilePath" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.product/Objects.LinkFileList"
},
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/swift-version--1AB21518FC5DEDBE.txt" : {
"alwaysOutOfDate" : true,
"inputs" : [
{
"kind" : "virtual",
"name" : "<swift-get-version>"
},
{
"kind" : "file",
"name" : "/Library/Developer/CommandLineTools/usr/bin/swiftc"
}
],
"outputFilePath" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/swift-version--1AB21518FC5DEDBE.txt"
}
}
}
@@ -0,0 +1,692 @@
{
"builtTestProducts" : [
{
"binaryPath" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.xctest/Contents/MacOS/PokerfreakCockpitPackageTests",
"packagePath" : "/Users/marcmintel/Projects/pokerfreak-shell/mac",
"productName" : "PokerfreakCockpitPackageTests"
}
],
"copyCommands" : {
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpit_CockpitKernTests.bundle/Fixtures" : {
"inputs" : [
{
"kind" : "directory",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/Tests/CockpitKernTests/Fixtures"
}
],
"outputs" : [
{
"kind" : "directory",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpit_CockpitKernTests.bundle/Fixtures"
}
]
},
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpit_CockpitKernTests.bundle/Info.plist" : {
"inputs" : [
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/Info.plist"
}
],
"outputs" : [
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpit_CockpitKernTests.bundle/Info.plist"
}
]
}
},
"explicitTargetDependencyImportCheckingMode" : {
"none" : {
}
},
"generatedSourceTargetSet" : [
],
"pluginDescriptions" : [
],
"swiftCommands" : {
"C.CockpitKern-arm64-apple-macosx26.0-debug.module" : {
"executable" : "/Library/Developer/CommandLineTools/usr/bin/swiftc",
"fileList" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/sources",
"importPath" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules",
"inputs" : [
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Modelle.swift"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Nachsichtig.swift"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Regeln.swift"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Wachstum.swift"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/swift-version--1AB21518FC5DEDBE.txt"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/sources"
}
],
"isLibrary" : true,
"moduleName" : "CockpitKern",
"moduleOutputPath" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules/CockpitKern.swiftmodule",
"objects" : [
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Modelle.swift.o",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Nachsichtig.swift.o",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Regeln.swift.o",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Wachstum.swift.o"
],
"otherArguments" : [
"-target",
"arm64-apple-macosx26.0",
"-incremental",
"-enable-batch-mode",
"-serialize-diagnostics",
"-index-store-path",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/index/store",
"-Onone",
"-enable-testing",
"-j16",
"-DSWIFT_PACKAGE",
"-DDEBUG",
"-DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE",
"-module-cache-path",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/ModuleCache",
"-parseable-output",
"-parse-as-library",
"-emit-objc-header",
"-emit-objc-header-path",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/include/CockpitKern-Swift.h",
"-swift-version",
"6",
"-I",
"/Library/Developer/CommandLineTools/Library/Developer/Frameworks",
"-L",
"/Library/Developer/CommandLineTools/Library/Developer/Frameworks",
"-plugin-path",
"/Library/Developer/CommandLineTools/usr/lib/swift/host/plugins/testing",
"-sdk",
"/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk",
"-g",
"-Xcc",
"-isysroot",
"-Xcc",
"/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk",
"-Xcc",
"-fPIC",
"-Xcc",
"-g",
"-package-name",
"mac"
],
"outputFileMapPath" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/output-file-map.json",
"outputs" : [
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Modelle.swift.o"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Nachsichtig.swift.o"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Regeln.swift.o"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Wachstum.swift.o"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules/CockpitKern.swiftmodule"
}
],
"prepareForIndexing" : false,
"sources" : [
"/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Modelle.swift",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Nachsichtig.swift",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Regeln.swift",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Wachstum.swift"
],
"tempsPath" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build",
"wholeModuleOptimization" : false
},
"C.CockpitKernTests-arm64-apple-macosx26.0-debug.module" : {
"executable" : "/Library/Developer/CommandLineTools/usr/bin/swiftc",
"fileList" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/sources",
"importPath" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules",
"inputs" : [
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/Tests/CockpitKernTests/NachrichtSpec.swift"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/Tests/CockpitKernTests/RegelnSpec.swift"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/DerivedSources/resource_bundle_accessor.swift"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/swift-version--1AB21518FC5DEDBE.txt"
},
{
"kind" : "virtual",
"name" : "<CockpitKernTests-arm64-apple-macosx26.0-debug.module-resources>"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules/CockpitKern.swiftmodule"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/sources"
}
],
"isLibrary" : true,
"moduleName" : "CockpitKernTests",
"moduleOutputPath" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules/CockpitKernTests.swiftmodule",
"objects" : [
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/NachrichtSpec.swift.o",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/RegelnSpec.swift.o",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/resource_bundle_accessor.swift.o"
],
"otherArguments" : [
"-target",
"arm64-apple-macosx26.0",
"-incremental",
"-enable-batch-mode",
"-serialize-diagnostics",
"-index-store-path",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/index/store",
"-Onone",
"-enable-testing",
"-Xfrontend",
"-enable-cross-import-overlays",
"-j16",
"-DSWIFT_PACKAGE",
"-DDEBUG",
"-DSWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE",
"-module-cache-path",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/ModuleCache",
"-parseable-output",
"-parse-as-library",
"-swift-version",
"6",
"-I",
"/Library/Developer/CommandLineTools/Library/Developer/Frameworks",
"-L",
"/Library/Developer/CommandLineTools/Library/Developer/Frameworks",
"-plugin-path",
"/Library/Developer/CommandLineTools/usr/lib/swift/host/plugins/testing",
"-sdk",
"/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk",
"-g",
"-Xcc",
"-isysroot",
"-Xcc",
"/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk",
"-Xcc",
"-fPIC",
"-Xcc",
"-g",
"-package-name",
"mac"
],
"outputFileMapPath" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/output-file-map.json",
"outputs" : [
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/NachrichtSpec.swift.o"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/RegelnSpec.swift.o"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/resource_bundle_accessor.swift.o"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules/CockpitKernTests.swiftmodule"
}
],
"prepareForIndexing" : false,
"sources" : [
"/Users/marcmintel/Projects/pokerfreak-shell/mac/Tests/CockpitKernTests/NachrichtSpec.swift",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/Tests/CockpitKernTests/RegelnSpec.swift",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/DerivedSources/resource_bundle_accessor.swift"
],
"tempsPath" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build",
"wholeModuleOptimization" : false
},
"C.PokerfreakCockpitPackageTests-arm64-apple-macosx26.0-debug.module" : {
"executable" : "/Library/Developer/CommandLineTools/usr/bin/swiftc",
"fileList" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/sources",
"importPath" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules",
"inputs" : [
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.derived/runner.swift"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/swift-version--1AB21518FC5DEDBE.txt"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules/CockpitKernTests.swiftmodule"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/sources"
}
],
"isLibrary" : true,
"moduleName" : "PokerfreakCockpitPackageTests",
"moduleOutputPath" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules/PokerfreakCockpitPackageTests.swiftmodule",
"objects" : [
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/runner.swift.o"
],
"otherArguments" : [
"-target",
"arm64-apple-macosx26.0",
"-incremental",
"-enable-batch-mode",
"-serialize-diagnostics",
"-index-store-path",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/index/store",
"-Onone",
"-enable-testing",
"-Xfrontend",
"-enable-cross-import-overlays",
"-j16",
"-DSWIFT_PACKAGE",
"-DDEBUG",
"-DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE",
"-module-cache-path",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/ModuleCache",
"-parseable-output",
"-parse-as-library",
"-emit-objc-header",
"-emit-objc-header-path",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/include/PokerfreakCockpitPackageTests-Swift.h",
"-I",
"/Library/Developer/CommandLineTools/Library/Developer/Frameworks",
"-L",
"/Library/Developer/CommandLineTools/Library/Developer/Frameworks",
"-plugin-path",
"/Library/Developer/CommandLineTools/usr/lib/swift/host/plugins/testing",
"-sdk",
"/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk",
"-g",
"-Xcc",
"-isysroot",
"-Xcc",
"/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk",
"-Xcc",
"-fPIC",
"-Xcc",
"-g",
"-package-name",
"mac"
],
"outputFileMapPath" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/output-file-map.json",
"outputs" : [
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/runner.swift.o"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules/PokerfreakCockpitPackageTests.swiftmodule"
}
],
"prepareForIndexing" : false,
"sources" : [
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.derived/runner.swift"
],
"tempsPath" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build",
"wholeModuleOptimization" : false
}
},
"swiftFrontendCommands" : {
},
"swiftTargetScanArgs" : {
"CockpitKern" : [
"/Library/Developer/CommandLineTools/usr/bin/swiftc",
"-module-name",
"CockpitKern",
"-package-name",
"mac",
"-c",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Modelle.swift",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Nachsichtig.swift",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Regeln.swift",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Wachstum.swift",
"-I",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules",
"-target",
"arm64-apple-macosx26.0",
"-incremental",
"-enable-batch-mode",
"-serialize-diagnostics",
"-index-store-path",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/index/store",
"-Onone",
"-enable-testing",
"-j16",
"-DSWIFT_PACKAGE",
"-DDEBUG",
"-DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE",
"-module-cache-path",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/ModuleCache",
"-parseable-output",
"-parse-as-library",
"-emit-objc-header",
"-emit-objc-header-path",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/include/CockpitKern-Swift.h",
"-swift-version",
"6",
"-I",
"/Library/Developer/CommandLineTools/Library/Developer/Frameworks",
"-L",
"/Library/Developer/CommandLineTools/Library/Developer/Frameworks",
"-plugin-path",
"/Library/Developer/CommandLineTools/usr/lib/swift/host/plugins/testing",
"-sdk",
"/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk",
"-g",
"-Xcc",
"-isysroot",
"-Xcc",
"/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk",
"-Xcc",
"-fPIC",
"-Xcc",
"-g",
"-package-name",
"mac",
"-driver-use-frontend-path",
"/Library/Developer/CommandLineTools/usr/bin/swiftc"
],
"CockpitKernTests" : [
"/Library/Developer/CommandLineTools/usr/bin/swiftc",
"-module-name",
"CockpitKernTests",
"-package-name",
"mac",
"-c",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/Tests/CockpitKernTests/NachrichtSpec.swift",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/Tests/CockpitKernTests/RegelnSpec.swift",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/DerivedSources/resource_bundle_accessor.swift",
"-I",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules",
"-target",
"arm64-apple-macosx26.0",
"-incremental",
"-enable-batch-mode",
"-serialize-diagnostics",
"-index-store-path",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/index/store",
"-Onone",
"-enable-testing",
"-Xfrontend",
"-enable-cross-import-overlays",
"-j16",
"-DSWIFT_PACKAGE",
"-DDEBUG",
"-DSWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE",
"-module-cache-path",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/ModuleCache",
"-parseable-output",
"-parse-as-library",
"-swift-version",
"6",
"-I",
"/Library/Developer/CommandLineTools/Library/Developer/Frameworks",
"-L",
"/Library/Developer/CommandLineTools/Library/Developer/Frameworks",
"-plugin-path",
"/Library/Developer/CommandLineTools/usr/lib/swift/host/plugins/testing",
"-sdk",
"/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk",
"-g",
"-Xcc",
"-isysroot",
"-Xcc",
"/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk",
"-Xcc",
"-fPIC",
"-Xcc",
"-g",
"-package-name",
"mac",
"-driver-use-frontend-path",
"/Library/Developer/CommandLineTools/usr/bin/swiftc"
],
"PokerfreakCockpitPackageTests" : [
"/Library/Developer/CommandLineTools/usr/bin/swiftc",
"-module-name",
"PokerfreakCockpitPackageTests",
"-package-name",
"mac",
"-c",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.derived/runner.swift",
"-I",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules",
"-target",
"arm64-apple-macosx26.0",
"-incremental",
"-enable-batch-mode",
"-serialize-diagnostics",
"-index-store-path",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/index/store",
"-Onone",
"-enable-testing",
"-Xfrontend",
"-enable-cross-import-overlays",
"-j16",
"-DSWIFT_PACKAGE",
"-DDEBUG",
"-DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE",
"-module-cache-path",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/ModuleCache",
"-parseable-output",
"-parse-as-library",
"-emit-objc-header",
"-emit-objc-header-path",
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/include/PokerfreakCockpitPackageTests-Swift.h",
"-I",
"/Library/Developer/CommandLineTools/Library/Developer/Frameworks",
"-L",
"/Library/Developer/CommandLineTools/Library/Developer/Frameworks",
"-plugin-path",
"/Library/Developer/CommandLineTools/usr/lib/swift/host/plugins/testing",
"-sdk",
"/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk",
"-g",
"-Xcc",
"-isysroot",
"-Xcc",
"/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk",
"-Xcc",
"-fPIC",
"-Xcc",
"-g",
"-package-name",
"mac",
"-driver-use-frontend-path",
"/Library/Developer/CommandLineTools/usr/bin/swiftc"
]
},
"targetDependencyMap" : {
"CockpitKern" : [
],
"CockpitKernTests" : [
"CockpitKern"
],
"PokerfreakCockpitPackageTests" : [
"CockpitKernTests",
"CockpitKern"
]
},
"testDiscoveryCommands" : {
},
"testEntryPointCommands" : {
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.derived/runner.swift" : {
"inputs" : [
],
"outputs" : [
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.derived/runner.swift"
}
]
}
},
"traitConfiguration" : {
"default" : {
}
},
"writeCommands" : {
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/sources" : {
"alwaysOutOfDate" : false,
"inputs" : [
{
"kind" : "virtual",
"name" : "<sources-file-list>"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Modelle.swift"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Nachsichtig.swift"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Regeln.swift"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Wachstum.swift"
}
],
"outputFilePath" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/sources"
},
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/sources" : {
"alwaysOutOfDate" : false,
"inputs" : [
{
"kind" : "virtual",
"name" : "<sources-file-list>"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/Tests/CockpitKernTests/NachrichtSpec.swift"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/Tests/CockpitKernTests/RegelnSpec.swift"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/DerivedSources/resource_bundle_accessor.swift"
}
],
"outputFilePath" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/sources"
},
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/sources" : {
"alwaysOutOfDate" : false,
"inputs" : [
{
"kind" : "virtual",
"name" : "<sources-file-list>"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.derived/runner.swift"
}
],
"outputFilePath" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/sources"
},
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.product/Objects.LinkFileList" : {
"alwaysOutOfDate" : false,
"inputs" : [
{
"kind" : "virtual",
"name" : "<link-file-list>"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Modelle.swift.o"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Nachsichtig.swift.o"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Regeln.swift.o"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Wachstum.swift.o"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/NachrichtSpec.swift.o"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/RegelnSpec.swift.o"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/resource_bundle_accessor.swift.o"
},
{
"kind" : "file",
"name" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/runner.swift.o"
}
],
"outputFilePath" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.product/Objects.LinkFileList"
},
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/swift-version--1AB21518FC5DEDBE.txt" : {
"alwaysOutOfDate" : true,
"inputs" : [
{
"kind" : "virtual",
"name" : "<swift-get-version>"
},
{
"kind" : "file",
"name" : "/Library/Developer/CommandLineTools/usr/bin/swiftc"
}
],
"outputFilePath" : "/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/swift-version--1AB21518FC5DEDBE.txt"
}
}
}
@@ -0,0 +1,2 @@
Apple Swift version 6.2.1 (swiftlang-6.2.1.4.8 clang-1700.4.4.1)
Target: arm64-apple-macosx26.0
Binary file not shown.
Binary file not shown.
+129
View File
@@ -0,0 +1,129 @@
client:
name: basic
file-system: device-agnostic
tools: {}
targets:
"CockpitKern-arm64-apple-macosx26.0-debug.module": ["<CockpitKern-arm64-apple-macosx26.0-debug.module>"]
"CockpitKernTests-arm64-apple-macosx26.0-debug.module": ["<CockpitKernTests-arm64-apple-macosx26.0-debug.module>"]
"PackageStructure": ["<PackageStructure>"]
"PokerfreakCockpitPackageTests-arm64-apple-macosx26.0-debug.module": ["<PokerfreakCockpitPackageTests-arm64-apple-macosx26.0-debug.module>"]
"PokerfreakCockpitPackageTests-arm64-apple-macosx26.0-debug.test": ["<PokerfreakCockpitPackageTests-arm64-apple-macosx26.0-debug.test>"]
"main": ["<CockpitKern-arm64-apple-macosx26.0-debug.module>"]
"test": ["<CockpitKern-arm64-apple-macosx26.0-debug.module>","<CockpitKernTests-arm64-apple-macosx26.0-debug.module>","<PokerfreakCockpitPackageTests-arm64-apple-macosx26.0-debug.test>"]
default: "main"
nodes:
"/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/":
is-directory-structure: true
content-exclusion-patterns: [".git",".build"]
"/Users/marcmintel/Projects/pokerfreak-shell/mac/Tests/CockpitKernTests/":
is-directory-structure: true
content-exclusion-patterns: [".git",".build"]
commands:
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/sources":
tool: write-auxiliary-file
inputs: ["<sources-file-list>","/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Modelle.swift","/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Nachsichtig.swift","/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Regeln.swift","/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Wachstum.swift"]
outputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/sources"]
description: "Write auxiliary file /Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/sources"
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/sources":
tool: write-auxiliary-file
inputs: ["<sources-file-list>","/Users/marcmintel/Projects/pokerfreak-shell/mac/Tests/CockpitKernTests/NachrichtSpec.swift","/Users/marcmintel/Projects/pokerfreak-shell/mac/Tests/CockpitKernTests/RegelnSpec.swift","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/DerivedSources/resource_bundle_accessor.swift"]
outputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/sources"]
description: "Write auxiliary file /Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/sources"
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/sources":
tool: write-auxiliary-file
inputs: ["<sources-file-list>","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.derived/runner.swift"]
outputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/sources"]
description: "Write auxiliary file /Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/sources"
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.derived/runner.swift":
tool: test-entry-point-tool
inputs: []
outputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.derived/runner.swift"]
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.product/Objects.LinkFileList":
tool: write-auxiliary-file
inputs: ["<link-file-list>","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Modelle.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Nachsichtig.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Regeln.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Wachstum.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/NachrichtSpec.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/RegelnSpec.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/resource_bundle_accessor.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/runner.swift.o"]
outputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.product/Objects.LinkFileList"]
description: "Write auxiliary file /Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.product/Objects.LinkFileList"
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpit_CockpitKernTests.bundle/Fixtures":
tool: copy-tool
inputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/Tests/CockpitKernTests/Fixtures/"]
outputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpit_CockpitKernTests.bundle/Fixtures/"]
description: "Copying /Users/marcmintel/Projects/pokerfreak-shell/mac/Tests/CockpitKernTests/Fixtures"
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpit_CockpitKernTests.bundle/Info.plist":
tool: copy-tool
inputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/Info.plist"]
outputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpit_CockpitKernTests.bundle/Info.plist"]
description: "Copying /Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/Info.plist"
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/swift-version--1AB21518FC5DEDBE.txt":
tool: write-auxiliary-file
inputs: ["<swift-get-version>","/Library/Developer/CommandLineTools/usr/bin/swiftc"]
outputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/swift-version--1AB21518FC5DEDBE.txt"]
always-out-of-date: "true"
description: "Write auxiliary file /Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/swift-version--1AB21518FC5DEDBE.txt"
"<CockpitKern-arm64-apple-macosx26.0-debug.module>":
tool: phony
inputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Modelle.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Nachsichtig.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Regeln.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Wachstum.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules/CockpitKern.swiftmodule"]
outputs: ["<CockpitKern-arm64-apple-macosx26.0-debug.module>"]
"<CockpitKernTests-arm64-apple-macosx26.0-debug.module>":
tool: phony
inputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/NachrichtSpec.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/RegelnSpec.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/resource_bundle_accessor.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules/CockpitKernTests.swiftmodule"]
outputs: ["<CockpitKernTests-arm64-apple-macosx26.0-debug.module>"]
"<PokerfreakCockpitPackageTests-arm64-apple-macosx26.0-debug.module>":
tool: phony
inputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/runner.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules/PokerfreakCockpitPackageTests.swiftmodule"]
outputs: ["<PokerfreakCockpitPackageTests-arm64-apple-macosx26.0-debug.module>"]
"<PokerfreakCockpitPackageTests-arm64-apple-macosx26.0-debug.test>":
tool: phony
inputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.xctest/Contents/MacOS/PokerfreakCockpitPackageTests"]
outputs: ["<PokerfreakCockpitPackageTests-arm64-apple-macosx26.0-debug.test>"]
"C.CockpitKern-arm64-apple-macosx26.0-debug.module":
tool: shell
inputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Modelle.swift","/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Nachsichtig.swift","/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Regeln.swift","/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Wachstum.swift","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/swift-version--1AB21518FC5DEDBE.txt","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/sources"]
outputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Modelle.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Nachsichtig.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Regeln.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Wachstum.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules/CockpitKern.swiftmodule"]
description: "Compiling Swift Module 'CockpitKern' (4 sources)"
args: ["/Library/Developer/CommandLineTools/usr/bin/swiftc","-module-name","CockpitKern","-emit-dependencies","-emit-module","-emit-module-path","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules/CockpitKern.swiftmodule","-output-file-map","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/output-file-map.json","-parse-as-library","-incremental","-c","@/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/sources","-I","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules","-target","arm64-apple-macosx26.0","-incremental","-enable-batch-mode","-serialize-diagnostics","-index-store-path","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/index/store","-Onone","-enable-testing","-j16","-DSWIFT_PACKAGE","-DDEBUG","-DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE","-module-cache-path","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/ModuleCache","-parseable-output","-parse-as-library","-emit-objc-header","-emit-objc-header-path","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/include/CockpitKern-Swift.h","-swift-version","6","-I","/Library/Developer/CommandLineTools/Library/Developer/Frameworks","-L","/Library/Developer/CommandLineTools/Library/Developer/Frameworks","-plugin-path","/Library/Developer/CommandLineTools/usr/lib/swift/host/plugins/testing","-sdk","/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk","-g","-Xcc","-isysroot","-Xcc","/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk","-Xcc","-fPIC","-Xcc","-g","-package-name","mac"]
"C.CockpitKernTests-arm64-apple-macosx26.0-debug.module":
tool: shell
inputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/Tests/CockpitKernTests/NachrichtSpec.swift","/Users/marcmintel/Projects/pokerfreak-shell/mac/Tests/CockpitKernTests/RegelnSpec.swift","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/DerivedSources/resource_bundle_accessor.swift","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/swift-version--1AB21518FC5DEDBE.txt","<CockpitKernTests-arm64-apple-macosx26.0-debug.module-resources>","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules/CockpitKern.swiftmodule","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/sources"]
outputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/NachrichtSpec.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/RegelnSpec.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/resource_bundle_accessor.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules/CockpitKernTests.swiftmodule"]
description: "Compiling Swift Module 'CockpitKernTests' (3 sources)"
args: ["/Library/Developer/CommandLineTools/usr/bin/swiftc","-module-name","CockpitKernTests","-emit-dependencies","-emit-module","-emit-module-path","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules/CockpitKernTests.swiftmodule","-output-file-map","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/output-file-map.json","-parse-as-library","-incremental","-c","@/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/sources","-I","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules","-target","arm64-apple-macosx26.0","-incremental","-enable-batch-mode","-serialize-diagnostics","-index-store-path","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/index/store","-Onone","-enable-testing","-Xfrontend","-enable-cross-import-overlays","-j16","-DSWIFT_PACKAGE","-DDEBUG","-DSWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE","-module-cache-path","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/ModuleCache","-parseable-output","-parse-as-library","-swift-version","6","-I","/Library/Developer/CommandLineTools/Library/Developer/Frameworks","-L","/Library/Developer/CommandLineTools/Library/Developer/Frameworks","-plugin-path","/Library/Developer/CommandLineTools/usr/lib/swift/host/plugins/testing","-sdk","/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk","-g","-Xcc","-isysroot","-Xcc","/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk","-Xcc","-fPIC","-Xcc","-g","-package-name","mac"]
"C.PokerfreakCockpitPackageTests-arm64-apple-macosx26.0-debug.module":
tool: shell
inputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.derived/runner.swift","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/swift-version--1AB21518FC5DEDBE.txt","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules/CockpitKernTests.swiftmodule","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/sources"]
outputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/runner.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules/PokerfreakCockpitPackageTests.swiftmodule"]
description: "Compiling Swift Module 'PokerfreakCockpitPackageTests' (1 sources)"
args: ["/Library/Developer/CommandLineTools/usr/bin/swiftc","-module-name","PokerfreakCockpitPackageTests","-emit-dependencies","-emit-module","-emit-module-path","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules/PokerfreakCockpitPackageTests.swiftmodule","-output-file-map","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/output-file-map.json","-parse-as-library","-incremental","-c","@/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/sources","-I","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules","-target","arm64-apple-macosx26.0","-incremental","-enable-batch-mode","-serialize-diagnostics","-index-store-path","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/index/store","-Onone","-enable-testing","-Xfrontend","-enable-cross-import-overlays","-j16","-DSWIFT_PACKAGE","-DDEBUG","-DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE","-module-cache-path","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/ModuleCache","-parseable-output","-parse-as-library","-emit-objc-header","-emit-objc-header-path","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/include/PokerfreakCockpitPackageTests-Swift.h","-I","/Library/Developer/CommandLineTools/Library/Developer/Frameworks","-L","/Library/Developer/CommandLineTools/Library/Developer/Frameworks","-plugin-path","/Library/Developer/CommandLineTools/usr/lib/swift/host/plugins/testing","-sdk","/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk","-g","-Xcc","-isysroot","-Xcc","/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk","-Xcc","-fPIC","-Xcc","-g","-package-name","mac"]
"C.PokerfreakCockpitPackageTests-arm64-apple-macosx26.0-debug.test":
tool: shell
inputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Modelle.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Nachsichtig.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Regeln.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Wachstum.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/NachrichtSpec.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/RegelnSpec.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/resource_bundle_accessor.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/runner.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.product/Objects.LinkFileList"]
outputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.xctest/Contents/MacOS/PokerfreakCockpitPackageTests"]
description: "Linking ./.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.xctest/Contents/MacOS/PokerfreakCockpitPackageTests"
args: ["/Library/Developer/CommandLineTools/usr/bin/swiftc","-L","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug","-o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.xctest/Contents/MacOS/PokerfreakCockpitPackageTests","-module-name","PokerfreakCockpitPackageTests","-Xlinker","-no_warn_duplicate_libraries","-Xlinker","-bundle","-Xlinker","-rpath","-Xlinker","@loader_path/../../../","@/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.product/Objects.LinkFileList","-target","arm64-apple-macosx26.0","-Xlinker","-add_ast_path","-Xlinker","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules/CockpitKern.swiftmodule","-Xlinker","-add_ast_path","-Xlinker","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules/CockpitKernTests.swiftmodule","-Xlinker","-add_ast_path","-Xlinker","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules/PokerfreakCockpitPackageTests.swiftmodule","-I","/Library/Developer/CommandLineTools/Library/Developer/Frameworks","-L","/Library/Developer/CommandLineTools/Library/Developer/Frameworks","-plugin-path","/Library/Developer/CommandLineTools/usr/lib/swift/host/plugins/testing","-sdk","/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk","-g"]
"CockpitKernTests-arm64-apple-macosx26.0-debug.module-resources":
tool: phony
inputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpit_CockpitKernTests.bundle/Fixtures/","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpit_CockpitKernTests.bundle/Info.plist"]
outputs: ["<CockpitKernTests-arm64-apple-macosx26.0-debug.module-resources>"]
"PackageStructure":
tool: package-structure-tool
inputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/","/Users/marcmintel/Projects/pokerfreak-shell/mac/Tests/CockpitKernTests/","/Users/marcmintel/Projects/pokerfreak-shell/mac/Package.swift","/Users/marcmintel/Projects/pokerfreak-shell/mac/Package.resolved"]
outputs: ["<PackageStructure>"]
description: "Planning build"
allow-missing-inputs: true
+129
View File
@@ -0,0 +1,129 @@
client:
name: basic
file-system: device-agnostic
tools: {}
targets:
"CockpitKern-arm64-apple-macosx26.0-debug.module": ["<CockpitKern-arm64-apple-macosx26.0-debug.module>"]
"CockpitKernTests-arm64-apple-macosx26.0-debug.module": ["<CockpitKernTests-arm64-apple-macosx26.0-debug.module>"]
"PackageStructure": ["<PackageStructure>"]
"PokerfreakCockpitPackageTests-arm64-apple-macosx26.0-debug.module": ["<PokerfreakCockpitPackageTests-arm64-apple-macosx26.0-debug.module>"]
"PokerfreakCockpitPackageTests-arm64-apple-macosx26.0-debug.test": ["<PokerfreakCockpitPackageTests-arm64-apple-macosx26.0-debug.test>"]
"main": ["<CockpitKern-arm64-apple-macosx26.0-debug.module>"]
"test": ["<CockpitKern-arm64-apple-macosx26.0-debug.module>","<CockpitKernTests-arm64-apple-macosx26.0-debug.module>","<PokerfreakCockpitPackageTests-arm64-apple-macosx26.0-debug.test>"]
default: "main"
nodes:
"/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/":
is-directory-structure: true
content-exclusion-patterns: [".git",".build"]
"/Users/marcmintel/Projects/pokerfreak-shell/mac/Tests/CockpitKernTests/":
is-directory-structure: true
content-exclusion-patterns: [".git",".build"]
commands:
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/sources":
tool: write-auxiliary-file
inputs: ["<sources-file-list>","/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Modelle.swift","/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Nachsichtig.swift","/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Regeln.swift","/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Wachstum.swift"]
outputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/sources"]
description: "Write auxiliary file /Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/sources"
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/sources":
tool: write-auxiliary-file
inputs: ["<sources-file-list>","/Users/marcmintel/Projects/pokerfreak-shell/mac/Tests/CockpitKernTests/NachrichtSpec.swift","/Users/marcmintel/Projects/pokerfreak-shell/mac/Tests/CockpitKernTests/RegelnSpec.swift","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/DerivedSources/resource_bundle_accessor.swift"]
outputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/sources"]
description: "Write auxiliary file /Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/sources"
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/sources":
tool: write-auxiliary-file
inputs: ["<sources-file-list>","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.derived/runner.swift"]
outputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/sources"]
description: "Write auxiliary file /Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/sources"
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.derived/runner.swift":
tool: test-entry-point-tool
inputs: []
outputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.derived/runner.swift"]
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.product/Objects.LinkFileList":
tool: write-auxiliary-file
inputs: ["<link-file-list>","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Modelle.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Nachsichtig.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Regeln.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Wachstum.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/NachrichtSpec.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/RegelnSpec.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/resource_bundle_accessor.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/runner.swift.o"]
outputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.product/Objects.LinkFileList"]
description: "Write auxiliary file /Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.product/Objects.LinkFileList"
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpit_CockpitKernTests.bundle/Fixtures":
tool: copy-tool
inputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/Tests/CockpitKernTests/Fixtures/"]
outputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpit_CockpitKernTests.bundle/Fixtures/"]
description: "Copying /Users/marcmintel/Projects/pokerfreak-shell/mac/Tests/CockpitKernTests/Fixtures"
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpit_CockpitKernTests.bundle/Info.plist":
tool: copy-tool
inputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/Info.plist"]
outputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpit_CockpitKernTests.bundle/Info.plist"]
description: "Copying /Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/Info.plist"
"/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/swift-version--1AB21518FC5DEDBE.txt":
tool: write-auxiliary-file
inputs: ["<swift-get-version>","/Library/Developer/CommandLineTools/usr/bin/swiftc"]
outputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/swift-version--1AB21518FC5DEDBE.txt"]
always-out-of-date: "true"
description: "Write auxiliary file /Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/swift-version--1AB21518FC5DEDBE.txt"
"<CockpitKern-arm64-apple-macosx26.0-debug.module>":
tool: phony
inputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Modelle.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Nachsichtig.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Regeln.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Wachstum.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules/CockpitKern.swiftmodule"]
outputs: ["<CockpitKern-arm64-apple-macosx26.0-debug.module>"]
"<CockpitKernTests-arm64-apple-macosx26.0-debug.module>":
tool: phony
inputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/NachrichtSpec.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/RegelnSpec.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/resource_bundle_accessor.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules/CockpitKernTests.swiftmodule"]
outputs: ["<CockpitKernTests-arm64-apple-macosx26.0-debug.module>"]
"<PokerfreakCockpitPackageTests-arm64-apple-macosx26.0-debug.module>":
tool: phony
inputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/runner.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules/PokerfreakCockpitPackageTests.swiftmodule"]
outputs: ["<PokerfreakCockpitPackageTests-arm64-apple-macosx26.0-debug.module>"]
"<PokerfreakCockpitPackageTests-arm64-apple-macosx26.0-debug.test>":
tool: phony
inputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.xctest/Contents/MacOS/PokerfreakCockpitPackageTests"]
outputs: ["<PokerfreakCockpitPackageTests-arm64-apple-macosx26.0-debug.test>"]
"C.CockpitKern-arm64-apple-macosx26.0-debug.module":
tool: shell
inputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Modelle.swift","/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Nachsichtig.swift","/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Regeln.swift","/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/Wachstum.swift","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/swift-version--1AB21518FC5DEDBE.txt","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/sources"]
outputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Modelle.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Nachsichtig.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Regeln.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Wachstum.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules/CockpitKern.swiftmodule"]
description: "Compiling Swift Module 'CockpitKern' (4 sources)"
args: ["/Library/Developer/CommandLineTools/usr/bin/swiftc","-module-name","CockpitKern","-emit-dependencies","-emit-module","-emit-module-path","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules/CockpitKern.swiftmodule","-output-file-map","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/output-file-map.json","-parse-as-library","-incremental","-c","@/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/sources","-I","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules","-target","arm64-apple-macosx26.0","-incremental","-enable-batch-mode","-serialize-diagnostics","-index-store-path","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/index/store","-Onone","-enable-testing","-j16","-DSWIFT_PACKAGE","-DDEBUG","-DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE","-module-cache-path","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/ModuleCache","-parseable-output","-parse-as-library","-emit-objc-header","-emit-objc-header-path","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/include/CockpitKern-Swift.h","-swift-version","6","-I","/Library/Developer/CommandLineTools/Library/Developer/Frameworks","-L","/Library/Developer/CommandLineTools/Library/Developer/Frameworks","-plugin-path","/Library/Developer/CommandLineTools/usr/lib/swift/host/plugins/testing","-sdk","/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk","-g","-Xcc","-isysroot","-Xcc","/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk","-Xcc","-fPIC","-Xcc","-g","-package-name","mac"]
"C.CockpitKernTests-arm64-apple-macosx26.0-debug.module":
tool: shell
inputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/Tests/CockpitKernTests/NachrichtSpec.swift","/Users/marcmintel/Projects/pokerfreak-shell/mac/Tests/CockpitKernTests/RegelnSpec.swift","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/DerivedSources/resource_bundle_accessor.swift","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/swift-version--1AB21518FC5DEDBE.txt","<CockpitKernTests-arm64-apple-macosx26.0-debug.module-resources>","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules/CockpitKern.swiftmodule","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/sources"]
outputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/NachrichtSpec.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/RegelnSpec.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/resource_bundle_accessor.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules/CockpitKernTests.swiftmodule"]
description: "Compiling Swift Module 'CockpitKernTests' (3 sources)"
args: ["/Library/Developer/CommandLineTools/usr/bin/swiftc","-module-name","CockpitKernTests","-emit-dependencies","-emit-module","-emit-module-path","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules/CockpitKernTests.swiftmodule","-output-file-map","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/output-file-map.json","-parse-as-library","-incremental","-c","@/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/sources","-I","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules","-target","arm64-apple-macosx26.0","-incremental","-enable-batch-mode","-serialize-diagnostics","-index-store-path","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/index/store","-Onone","-enable-testing","-Xfrontend","-enable-cross-import-overlays","-j16","-DSWIFT_PACKAGE","-DDEBUG","-DSWIFT_MODULE_RESOURCE_BUNDLE_AVAILABLE","-module-cache-path","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/ModuleCache","-parseable-output","-parse-as-library","-swift-version","6","-I","/Library/Developer/CommandLineTools/Library/Developer/Frameworks","-L","/Library/Developer/CommandLineTools/Library/Developer/Frameworks","-plugin-path","/Library/Developer/CommandLineTools/usr/lib/swift/host/plugins/testing","-sdk","/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk","-g","-Xcc","-isysroot","-Xcc","/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk","-Xcc","-fPIC","-Xcc","-g","-package-name","mac"]
"C.PokerfreakCockpitPackageTests-arm64-apple-macosx26.0-debug.module":
tool: shell
inputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.derived/runner.swift","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/swift-version--1AB21518FC5DEDBE.txt","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules/CockpitKernTests.swiftmodule","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/sources"]
outputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/runner.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules/PokerfreakCockpitPackageTests.swiftmodule"]
description: "Compiling Swift Module 'PokerfreakCockpitPackageTests' (1 sources)"
args: ["/Library/Developer/CommandLineTools/usr/bin/swiftc","-module-name","PokerfreakCockpitPackageTests","-emit-dependencies","-emit-module","-emit-module-path","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules/PokerfreakCockpitPackageTests.swiftmodule","-output-file-map","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/output-file-map.json","-parse-as-library","-incremental","-c","@/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/sources","-I","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules","-target","arm64-apple-macosx26.0","-incremental","-enable-batch-mode","-serialize-diagnostics","-index-store-path","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/index/store","-Onone","-enable-testing","-Xfrontend","-enable-cross-import-overlays","-j16","-DSWIFT_PACKAGE","-DDEBUG","-DSWIFT_MODULE_RESOURCE_BUNDLE_UNAVAILABLE","-module-cache-path","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/ModuleCache","-parseable-output","-parse-as-library","-emit-objc-header","-emit-objc-header-path","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/include/PokerfreakCockpitPackageTests-Swift.h","-I","/Library/Developer/CommandLineTools/Library/Developer/Frameworks","-L","/Library/Developer/CommandLineTools/Library/Developer/Frameworks","-plugin-path","/Library/Developer/CommandLineTools/usr/lib/swift/host/plugins/testing","-sdk","/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk","-g","-Xcc","-isysroot","-Xcc","/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk","-Xcc","-fPIC","-Xcc","-g","-package-name","mac"]
"C.PokerfreakCockpitPackageTests-arm64-apple-macosx26.0-debug.test":
tool: shell
inputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Modelle.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Nachsichtig.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Regeln.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKern.build/Wachstum.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/NachrichtSpec.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/RegelnSpec.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/CockpitKernTests.build/resource_bundle_accessor.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.build/runner.swift.o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.product/Objects.LinkFileList"]
outputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.xctest/Contents/MacOS/PokerfreakCockpitPackageTests"]
description: "Linking ./.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.xctest/Contents/MacOS/PokerfreakCockpitPackageTests"
args: ["/Library/Developer/CommandLineTools/usr/bin/swiftc","-L","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug","-o","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.xctest/Contents/MacOS/PokerfreakCockpitPackageTests","-module-name","PokerfreakCockpitPackageTests","-Xlinker","-no_warn_duplicate_libraries","-Xlinker","-bundle","-Xlinker","-rpath","-Xlinker","@loader_path/../../../","@/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpitPackageTests.product/Objects.LinkFileList","-target","arm64-apple-macosx26.0","-Xlinker","-add_ast_path","-Xlinker","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules/CockpitKern.swiftmodule","-Xlinker","-add_ast_path","-Xlinker","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules/CockpitKernTests.swiftmodule","-Xlinker","-add_ast_path","-Xlinker","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/Modules/PokerfreakCockpitPackageTests.swiftmodule","-I","/Library/Developer/CommandLineTools/Library/Developer/Frameworks","-L","/Library/Developer/CommandLineTools/Library/Developer/Frameworks","-plugin-path","/Library/Developer/CommandLineTools/usr/lib/swift/host/plugins/testing","-sdk","/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk","-g"]
"CockpitKernTests-arm64-apple-macosx26.0-debug.module-resources":
tool: phony
inputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpit_CockpitKernTests.bundle/Fixtures/","/Users/marcmintel/Projects/pokerfreak-shell/mac/.build/arm64-apple-macosx/debug/PokerfreakCockpit_CockpitKernTests.bundle/Info.plist"]
outputs: ["<CockpitKernTests-arm64-apple-macosx26.0-debug.module-resources>"]
"PackageStructure":
tool: package-structure-tool
inputs: ["/Users/marcmintel/Projects/pokerfreak-shell/mac/Sources/CockpitKern/","/Users/marcmintel/Projects/pokerfreak-shell/mac/Tests/CockpitKernTests/","/Users/marcmintel/Projects/pokerfreak-shell/mac/Package.swift","/Users/marcmintel/Projects/pokerfreak-shell/mac/Package.resolved"]
outputs: ["<PackageStructure>"]
description: "Planning build"
allow-missing-inputs: true
+14
View File
@@ -0,0 +1,14 @@
{
"object" : {
"artifacts" : [
],
"dependencies" : [
],
"prebuilts" : [
]
},
"version" : 7
}
+17
View File
@@ -0,0 +1,17 @@
// swift-tools-version: 6.2
// Native Cockpit fuer macOS. Die Datenschicht bleibt in Python (sicht/), diese App ist nur die Oberflaeche.
import PackageDescription
let package = Package(
name: "PokerfreakCockpit",
defaultLocalization: "de",
platforms: [.macOS(.v26)],
targets: [
// Rein: Modelle, Nachrichten, Regeln - ohne AppKit, mit Spezifikation.
.target(name: "CockpitKern"),
// Die Huelle: Panel, Menueleiste, Tasten, Serverprozess, SwiftUI-Ansichten.
.executableTarget(name: "Cockpit", dependencies: ["CockpitKern"]),
.testTarget(name: "CockpitKernTests", dependencies: ["CockpitKern"],
resources: [.copy("Fixtures")]),
]
)
+414
View File
@@ -0,0 +1,414 @@
import Foundation
// Die Bereiche der Ansicht, wie sicht/ANSICHT.md sie beschreibt. Alles ist nachsichtig dekodiert:
// fehlende Felder sind nil oder leer, nie ein Fehler - die Datenschicht darf wachsen.
public enum Bereich: String, CaseIterable, Sendable {
case kopf, jetzt, wachstum, entscheidungen, geld, sitzen, stil, ticker
}
public enum Ton: String, Sendable {
case rot, gelb, gruen, blau, grau
public init(farbe: String?) {
self = farbe.flatMap(Ton.init(rawValue:)) ?? .grau
}
}
public struct Status: Decodable, Equatable, Sendable {
public var zustand: String?
public var farbe: String?
public var satz: String?
public var ton: Ton { Ton(farbe: farbe) }
}
public struct Kopf: Decodable, Equatable, Sendable {
public var leer: String?
public var laeuft = false
public var text: String?
public var seit: Double?
public var zuletzt: Double?
public var laufzeitS: Double?
public var tische: [String] = []
public var tischeOffen: Int?
public var tischeText: String?
public var modus: String?
public var modusQuelle: String?
public var klon = false
public var notAus = false
public var guthaben: Double?
public var pid: Int?
public var status: Status?
enum CodingKeys: String, CodingKey {
case leer, laeuft, text, seit, zuletzt, laufzeitS = "laufzeit_s", tische, tischeOffen = "tische_offen"
case tischeText = "tische_text", modus, modusQuelle = "modus_quelle", klon, notAus = "not_aus"
case guthaben, pid, status
}
public init(from d: Decoder) throws {
let c = try d.container(keyedBy: CodingKeys.self)
leer = c.text(.leer)
laeuft = c.wahr(.laeuft)
text = c.text(.text)
seit = c.zahl(.seit)
zuletzt = c.zahl(.zuletzt)
laufzeitS = c.zahl(.laufzeitS)
tische = c.liste(.tische)
tischeOffen = c.zahl(.tischeOffen).map { Int($0) }
tischeText = c.text(.tischeText)
modus = c.text(.modus)
modusQuelle = c.text(.modusQuelle)
klon = c.wahr(.klon)
notAus = c.wahr(.notAus)
guthaben = c.zahl(.guthaben)
pid = c.zahl(.pid).map { Int($0) }
status = try? c.decodeIfPresent(Status.self, forKey: .status)
}
}
public struct Zug: Decodable, Equatable, Sendable {
public var offen = false
public var fristS: Double?
public var bis: Double?
public var seit: Double?
public init(offen: Bool, fristS: Double?, bis: Double?, seit: Double?) {
self.offen = offen; self.fristS = fristS; self.bis = bis; self.seit = seit
}
enum CodingKeys: String, CodingKey { case offen, fristS = "frist_s", bis, seit }
public init(from d: Decoder) throws {
let c = try d.container(keyedBy: CodingKeys.self)
offen = c.wahr(.offen); fristS = c.zahl(.fristS); bis = c.zahl(.bis); seit = c.zahl(.seit)
}
}
public struct Entscheidung: Decodable, Equatable, Sendable {
public var aktion: String?
public var aktionText: String?
public var betrag: Double?
public var betragBB: Double?
public var grund: String?
public var klartext: String?
public var equity: Double?
public var confidence: Double?
public var gedenkzeitS: Double?
public var zeit: Double?
enum CodingKeys: String, CodingKey {
case aktion, aktionText = "aktion_text", betrag, betragBB = "betrag_bb", grund, klartext, equity
case confidence, gedenkzeitS = "gedenkzeit_s", zeit
}
public init(from d: Decoder) throws {
let c = try d.container(keyedBy: CodingKeys.self)
aktion = c.text(.aktion); aktionText = c.text(.aktionText); betrag = c.zahl(.betrag)
betragBB = c.zahl(.betragBB); grund = c.text(.grund); klartext = c.text(.klartext)
equity = c.zahl(.equity); confidence = c.zahl(.confidence); gedenkzeitS = c.zahl(.gedenkzeitS)
zeit = c.zahl(.zeit)
}
}
public struct Klick: Decodable, Equatable, Sendable {
public var status: String?
public var warum: String?
public var beleg: String?
public init(status: String?, warum: String?, beleg: String?) {
self.status = status; self.warum = warum; self.beleg = beleg
}
}
public struct Jetzt: Decodable, Equatable, Sendable {
public var leer: String?
public var raum: String?
public var hand: String?
public var strasse: String?
public var karten: [String] = []
public var board: [String] = []
public var topf: Double?
public var zuZahlen: Double?
public var stack: Double?
public var zug: Zug?
public var entscheidung: Entscheidung?
public var klick: Klick?
enum CodingKeys: String, CodingKey {
case leer, raum, hand, strasse, karten, board, topf, zuZahlen = "zu_zahlen", stack, zug, entscheidung, klick
}
public init(from d: Decoder) throws {
let c = try d.container(keyedBy: CodingKeys.self)
leer = c.text(.leer); raum = c.text(.raum); hand = c.text(.hand); strasse = c.text(.strasse)
karten = c.liste(.karten); board = c.liste(.board); topf = c.zahl(.topf); zuZahlen = c.zahl(.zuZahlen)
stack = c.zahl(.stack)
zug = try? c.decodeIfPresent(Zug.self, forKey: .zug)
entscheidung = try? c.decodeIfPresent(Entscheidung.self, forKey: .entscheidung)
klick = try? c.decodeIfPresent(Klick.self, forKey: .klick)
}
}
public struct EntscheidungsZeile: Decodable, Equatable, Sendable, Identifiable {
public var zeit: Double?
public var raum: String?
public var hand: String?
public var strasse: String?
public var karten: [String]
public var board: [String]
public var aktion: String?
public var aktionText: String?
public var betragBB: Double?
public var grund: String?
public var klartext: String?
public var equity: Double?
public var confidence: Double?
public var stake: String?
public var spielart: String?
public var ergebnisBB: Double?
public var ergebnisText: String?
public var klick: String?
public var klickWarum: String?
public var beleg: String?
public var gedenkzeitS: Double?
public var id: String { "\(zeit ?? 0)|\(hand ?? "")|\(raum ?? "")|\(aktion ?? "")" }
public init(zeit: Double?, raum: String?, hand: String?, strasse: String?, karten: [String], board: [String],
aktion: String?, aktionText: String?, betragBB: Double?, grund: String?, klartext: String?,
equity: Double?, confidence: Double?, stake: String?, spielart: String?, ergebnisBB: Double?,
ergebnisText: String?, klick: String?, klickWarum: String?, beleg: String?, gedenkzeitS: Double?) {
self.zeit = zeit; self.raum = raum; self.hand = hand; self.strasse = strasse; self.karten = karten
self.board = board; self.aktion = aktion; self.aktionText = aktionText; self.betragBB = betragBB
self.grund = grund; self.klartext = klartext; self.equity = equity; self.confidence = confidence
self.stake = stake; self.spielart = spielart; self.ergebnisBB = ergebnisBB; self.ergebnisText = ergebnisText
self.klick = klick; self.klickWarum = klickWarum; self.beleg = beleg; self.gedenkzeitS = gedenkzeitS
}
enum CodingKeys: String, CodingKey {
case zeit, raum, hand, strasse, karten, board, aktion, aktionText = "aktion_text", betragBB = "betrag_bb"
case grund, klartext, equity, confidence, stake, spielart, ergebnisBB = "ergebnis_bb"
case ergebnisText = "ergebnis_text", klick, klickWarum = "klick_warum", beleg, gedenkzeitS = "gedenkzeit_s"
}
public init(from d: Decoder) throws {
let c = try d.container(keyedBy: CodingKeys.self)
self.init(zeit: c.zahl(.zeit), raum: c.text(.raum), hand: c.text(.hand), strasse: c.text(.strasse),
karten: c.liste(.karten), board: c.liste(.board), aktion: c.text(.aktion),
aktionText: c.text(.aktionText), betragBB: c.zahl(.betragBB), grund: c.text(.grund),
klartext: c.text(.klartext), equity: c.zahl(.equity), confidence: c.zahl(.confidence),
stake: c.text(.stake), spielart: c.text(.spielart), ergebnisBB: c.zahl(.ergebnisBB),
ergebnisText: c.text(.ergebnisText), klick: c.text(.klick), klickWarum: c.text(.klickWarum),
beleg: c.text(.beleg), gedenkzeitS: c.zahl(.gedenkzeitS))
}
}
public struct Facetten: Decodable, Equatable, Sendable {
public var aktion: [String] = []
public var stake: [String] = []
public var spielart: [String] = []
public var ergebnis: [String] = []
enum CodingKeys: String, CodingKey { case aktion, stake, spielart, ergebnis }
public init(from d: Decoder) throws {
let c = try d.container(keyedBy: CodingKeys.self)
aktion = c.liste(.aktion); stake = c.liste(.stake); spielart = c.liste(.spielart); ergebnis = c.liste(.ergebnis)
}
}
public struct Entscheidungen: Decodable, Equatable, Sendable {
public var leer: String?
public var zeilen: [EntscheidungsZeile] = []
public var facetten: Facetten?
public var gesamt: Int?
public var angezeigt: Int?
public var gekappt = false
public var ausschnitt = false
public var hinweis: String?
enum CodingKeys: String, CodingKey { case leer, zeilen, facetten, gesamt, angezeigt, gekappt, ausschnitt, hinweis }
public init(from d: Decoder) throws {
let c = try d.container(keyedBy: CodingKeys.self)
leer = c.text(.leer); zeilen = c.objekte(.zeilen)
facetten = try? c.decodeIfPresent(Facetten.self, forKey: .facetten)
gesamt = c.zahl(.gesamt).map { Int($0) }; angezeigt = c.zahl(.angezeigt).map { Int($0) }
gekappt = c.wahr(.gekappt); ausschnitt = c.wahr(.ausschnitt); hinweis = c.text(.hinweis)
}
}
public struct GeldZeile: Decodable, Equatable, Sendable, Identifiable {
public var zeit: Double?
public var raum: String?
public var art: String?
public var betrag: Double?
public var betragBB: Double?
public var grund: String?
public var uebung: Bool?
public var id: String { "\(zeit ?? 0)|\(raum ?? "")|\(art ?? "")|\(grund ?? "")" }
enum CodingKeys: String, CodingKey { case zeit, raum, art, betrag, betragBB = "betrag_bb", grund, uebung }
public init(from d: Decoder) throws {
let c = try d.container(keyedBy: CodingKeys.self)
zeit = c.zahl(.zeit); raum = c.text(.raum); art = c.text(.art); betrag = c.zahl(.betrag)
betragBB = c.zahl(.betragBB); grund = c.text(.grund); uebung = try? c.decodeIfPresent(Bool.self, forKey: .uebung)
}
}
public struct Geld: Decodable, Equatable, Sendable {
public var leer: String?
public var zeilen: [GeldZeile] = []
public var uebung = false
enum CodingKeys: String, CodingKey { case leer, zeilen, uebung }
public init(from d: Decoder) throws {
let c = try d.container(keyedBy: CodingKeys.self)
leer = c.text(.leer); zeilen = c.objekte(.zeilen); uebung = c.wahr(.uebung)
}
}
public struct Handlung: Decodable, Equatable, Sendable {
public var art: String?
public var grund: String?
public var zeit: Double?
enum CodingKeys: String, CodingKey { case art, grund, zeit }
public init(from d: Decoder) throws {
let c = try d.container(keyedBy: CodingKeys.self)
art = c.text(.art); grund = c.text(.grund); zeit = c.zahl(.zeit)
}
}
public struct Raum: Decodable, Equatable, Sendable, Identifiable {
public var raum: String
public var zustand: String?
public var platz: String?
public var stack: Double?
public var groesse: Int?
public var bb: String?
public var modus: String?
public var handlung: Handlung?
public var fenster: Int?
public var id: String { raum }
enum CodingKeys: String, CodingKey { case raum, zustand, platz, stack, groesse, bb, modus, handlung, fenster }
public init(from d: Decoder) throws {
let c = try d.container(keyedBy: CodingKeys.self)
raum = c.text(.raum) ?? "?"; zustand = c.text(.zustand); platz = c.text(.platz); stack = c.zahl(.stack)
groesse = c.zahl(.groesse).map { Int($0) }; bb = c.text(.bb); modus = c.text(.modus)
handlung = try? c.decodeIfPresent(Handlung.self, forKey: .handlung); fenster = c.zahl(.fenster).map { Int($0) }
}
}
public struct Sitzen: Decodable, Equatable, Sendable {
public struct Fenster: Decodable, Equatable, Sendable {
public var zahl: Int?
public var ueberzaehlig: [String] = []
enum CodingKeys: String, CodingKey { case zahl, ueberzaehlig }
public init(from d: Decoder) throws {
let c = try d.container(keyedBy: CodingKeys.self)
zahl = c.zahl(.zahl).map { Int($0) }; ueberzaehlig = c.liste(.ueberzaehlig)
}
}
public var leer: String?
public var raeume: [Raum] = []
public var fenster: Fenster?
enum CodingKeys: String, CodingKey { case leer, raeume, fenster }
public init(from d: Decoder) throws {
let c = try d.container(keyedBy: CodingKeys.self)
leer = c.text(.leer); raeume = c.objekte(.raeume); fenster = try? c.decodeIfPresent(Fenster.self, forKey: .fenster)
}
}
public struct Anteile: Decodable, Equatable, Sendable {
public var t: Double?
public var fold = 0.0, check = 0.0, call = 0.0, raise = 0.0, allin = 0.0
public var n: Int?
enum CodingKeys: String, CodingKey { case t, fold, check, call, raise, allin, n }
public init(from d: Decoder) throws {
let c = try d.container(keyedBy: CodingKeys.self)
t = c.zahl(.t); fold = c.zahl(.fold) ?? 0; check = c.zahl(.check) ?? 0; call = c.zahl(.call) ?? 0
raise = c.zahl(.raise) ?? 0; allin = c.zahl(.allin) ?? 0; n = c.zahl(.n).map { Int($0) }
}
}
public struct Stil: Decodable, Equatable, Sendable {
public struct Groesse: Decodable, Equatable, Sendable {
public var betragBB: Double?
public var topfAnteil: Double?
enum CodingKeys: String, CodingKey { case betragBB = "betrag_bb", topfAnteil = "topf_anteil" }
public init(from d: Decoder) throws {
let c = try d.container(keyedBy: CodingKeys.self)
betragBB = c.zahl(.betragBB); topfAnteil = c.zahl(.topfAnteil)
}
}
public struct Denkzeit: Decodable, Equatable, Sendable {
public var median: Double?
public var streuung: Double?
public var vk: Double?
public var n: Int?
enum CodingKeys: String, CodingKey { case median, streuung, vk, n }
public init(from d: Decoder) throws {
let c = try d.container(keyedBy: CodingKeys.self)
median = c.zahl(.median); streuung = c.zahl(.streuung); vk = c.zahl(.vk); n = c.zahl(.n).map { Int($0) }
}
}
public var leer: String?
public var verlauf: [Anteile] = []
public var groessen: [Groesse] = []
public var denkzeiten: [Double] = []
public var denkzeit: Denkzeit?
public var anteile: Anteile?
enum CodingKeys: String, CodingKey { case leer, verlauf, groessen, denkzeiten, denkzeit, anteile }
private struct S: Decodable { var s: Double? }
public init(from d: Decoder) throws {
let c = try d.container(keyedBy: CodingKeys.self)
leer = c.text(.leer); verlauf = c.objekte(.verlauf); groessen = c.objekte(.groessen)
denkzeiten = (c.objekte(.denkzeiten) as [S]).compactMap(\.s)
denkzeit = try? c.decodeIfPresent(Denkzeit.self, forKey: .denkzeit)
anteile = try? c.decodeIfPresent(Anteile.self, forKey: .anteile)
}
}
public struct TickerZeile: Decodable, Equatable, Sendable, Identifiable {
public var zeit: Double?
public var art: String?
public var raum: String?
public var text: String?
public var id: String { "\(zeit ?? 0)|\(art ?? "")|\(raum ?? "")|\(text ?? "")" }
enum CodingKeys: String, CodingKey { case zeit, art, raum, text }
public init(from d: Decoder) throws {
let c = try d.container(keyedBy: CodingKeys.self)
zeit = c.zahl(.zeit); art = c.text(.art); raum = c.text(.raum); text = c.text(.text)
}
}
public struct Ticker: Decodable, Equatable, Sendable {
public var leer: String?
public var zeilen: [TickerZeile] = []
public var gedanken: [String] = []
enum CodingKeys: String, CodingKey { case leer, zeilen, gedanken }
public init(from d: Decoder) throws {
let c = try d.container(keyedBy: CodingKeys.self)
leer = c.text(.leer); zeilen = c.objekte(.zeilen); gedanken = c.liste(.gedanken)
}
}
+52
View File
@@ -0,0 +1,52 @@
import Foundation
// Nachsichtiges Lesen: ein Feld mit falschem Typ ist "unbekannt", kein Fehler. Python schreibt
// Zahlen mal als int, mal als float, und manche Felder (Platz, Blinds) mal als Text, mal als Zahl.
private struct Beliebig: Decodable {
var text: String?
var zahl: Double?
init(from d: Decoder) throws {
let c = try d.singleValueContainer()
if let s = try? c.decode(String.self) {
text = s; zahl = Double(s)
} else if let b = try? c.decode(Bool.self) {
text = b ? "ja" : "nein"
} else if let i = try? c.decode(Int.self) {
text = String(i); zahl = Double(i)
} else if let x = try? c.decode(Double.self) {
text = Format.roh(x); zahl = x
}
}
}
/// Ein Listeneintrag, der sich nicht lesen laesst, faellt weg statt die ganze Liste zu kippen.
private struct Vielleicht<T: Decodable>: Decodable {
var wert: T?
init(from d: Decoder) throws { wert = try? T(from: d) }
}
extension KeyedDecodingContainer {
func text(_ k: Key) -> String? {
(try? decodeIfPresent(Beliebig.self, forKey: k))??.text
}
func zahl(_ k: Key) -> Double? {
guard let b = (try? decodeIfPresent(Beliebig.self, forKey: k)) ?? nil else { return nil }
// Ein Text ist nur dann eine Zahl, wenn Python ihn als Zahl schickte - "0.05/0.1" nicht.
return b.zahl
}
func wahr(_ k: Key) -> Bool {
((try? decodeIfPresent(Bool.self, forKey: k)) ?? nil) ?? false
}
func liste(_ k: Key) -> [String] {
((try? decodeIfPresent([Vielleicht<Beliebig>].self, forKey: k)) ?? nil)?.compactMap { $0.wert?.text } ?? []
}
func objekte<T: Decodable>(_ k: Key) -> [T] {
((try? decodeIfPresent([Vielleicht<T>].self, forKey: k)) ?? nil)?.compactMap(\.wert) ?? []
}
}
+35
View File
@@ -0,0 +1,35 @@
import Foundation
// STUB fuer Rot
public enum Nachricht: Equatable, Sendable { case ansicht(Set<Bereich>), rueckmeldung(Rueckmeldung), unbekannt }
public struct Rueckmeldung: Equatable, Sendable { public var aktion: String?; public var ok: Bool; public var text: String; public var raum: String?; public var bild: String?
public init(aktion: String?, ok: Bool, text: String, raum: String?, bild: String?) { self.aktion = aktion; self.ok = ok; self.text = text; self.raum = raum; self.bild = bild } }
public struct Ansicht: Sendable { public var kopf: Kopf?; public var jetzt: Jetzt?; public var wachstum: Wachstum?; public var entscheidungen: Entscheidungen?; public var geld: Geld?; public var sitzen: Sitzen?; public var stil: Stil?; public var ticker: Ticker?; public var stand: Double?
public init() {}
public mutating func anwenden(_ text: String) -> Nachricht { .unbekannt } }
public struct ServerAdresse: Equatable, Sendable { public var port: Int
public init(port: Int) { self.port = port }
public init?(startzeile: String) { return nil }
public var http: URL { URL(string: "x:")! }; public var websocket: URL { http }; public var steuern: URL { http }
public func foto(_ pfad: String) -> URL? { nil } }
public enum EscFolge: Equatable, Sendable { case eigene, notAus, ruhe }
public enum EscRegel { public static func entscheiden(eigeneTasteAlter: Double?, laeuft: Bool?) -> EscFolge { .ruhe } }
public enum Ausweichen { public static func aktiv(dateiAlter: Double?) -> Bool { false } }
public enum Rahmen { public static func obenLinks(x: Double, y: Double, breite: Double, hoehe: Double, hauptHoehe: Double) -> [Int] { [] }
public static func datei(rect: [Int], zeit: Double) -> Data { Data("{}".utf8) } }
public struct Flaeche: Equatable, Sendable { public var x, y, breite, hoehe: Double
public init(x: Double, y: Double, breite: Double, hoehe: Double) { self.x = x; self.y = y; self.breite = breite; self.hoehe = hoehe } }
public enum Seite: String, Sendable { case links, rechts }
public enum Platzierung { public static let abstand = 12.0
public static func leiste(in s: Flaeche, seite: Seite, breite: Double) -> Flaeche { s }
public static func pille(in s: Flaeche, seite: Seite, breite: Double, hoehe: Double) -> Flaeche { s }
public static func naechsteSeite(mitteX: Double, in s: Flaeche) -> Seite { .rechts } }
public struct Countdown: Equatable, Sendable { public var rest: Double; public var anteil: Double
public init?(zug: Zug?, jetzt: Double) { return nil } }
public enum ErgebnisFilter: String, Sendable { case gewonnen, verloren, null, offen }
public struct EntscheidungsFilter: Sendable { public var aktion: String?; public var stake: String?; public var spielart: String?; public var ergebnis: ErgebnisFilter?; public var suche: String
public init(aktion: String? = nil, stake: String? = nil, spielart: String? = nil, ergebnis: ErgebnisFilter? = nil, suche: String = "") { self.aktion = aktion; self.stake = stake; self.spielart = spielart; self.ergebnis = ergebnis; self.suche = suche }
public func anwenden(_ z: [EntscheidungsZeile]) -> [EntscheidungsZeile] { [] } }
public enum Format { public static func roh(_ x: Double) -> String { "" }; public static func zahl(_ x: Double?, stellen: Int = 2) -> String { "" }; public static func auto(_ x: Double?) -> String { "" }
public static func prozent(_ x: Double?) -> String { "" }; public static func vorzeichen(_ x: Double?) -> String { "" } }
public enum Farbe: Sendable { case herz, karo, pik, kreuz }
public struct Karte: Equatable, Sendable { public var rang: String; public var farbe: Farbe; public init?(_ s: String) { return nil } }
+147
View File
@@ -0,0 +1,147 @@
import Foundation
public struct KurvenPunkt: Decodable, Equatable, Sendable {
public var t: Double?
public var bb: Double?
enum CodingKeys: String, CodingKey { case t, bb }
public init(from d: Decoder) throws {
let c = try d.container(keyedBy: CodingKeys.self)
t = c.zahl(.t); bb = c.zahl(.bb)
}
}
public struct StakeZeile: Decodable, Equatable, Sendable, Identifiable {
public var stake: String
public var haende: Int?
public var bb100: Double?
public var unten: Double?
public var oben: Double?
public var id: String { stake }
enum CodingKeys: String, CodingKey { case stake, haende, bb100, unten, oben }
public init(from d: Decoder) throws {
let c = try d.container(keyedBy: CodingKeys.self)
stake = c.text(.stake) ?? "?"; haende = c.zahl(.haende).map { Int($0) }; bb100 = c.zahl(.bb100)
unten = c.zahl(.unten); oben = c.zahl(.oben)
}
}
public struct Sitzung: Decodable, Equatable, Sendable, Identifiable {
public var raum: String?
public var von: Double?
public var bis: Double?
public var haende: Int?
public var nettoBB: Double?
public var bb100: Double?
public var id: String { "\(raum ?? "")|\(von ?? 0)" }
enum CodingKeys: String, CodingKey { case raum, von, bis, haende, nettoBB = "netto_bb", bb100 }
public init(from d: Decoder) throws {
let c = try d.container(keyedBy: CodingKeys.self)
raum = c.text(.raum); von = c.zahl(.von); bis = c.zahl(.bis); haende = c.zahl(.haende).map { Int($0) }
nettoBB = c.zahl(.nettoBB); bb100 = c.zahl(.bb100)
}
}
public struct Stunde: Decodable, Equatable, Sendable {
public var stunde: Double?
public var haende: Int?
enum CodingKeys: String, CodingKey { case stunde, haende }
public init(from d: Decoder) throws {
let c = try d.container(keyedBy: CodingKeys.self)
stunde = c.zahl(.stunde); haende = c.zahl(.haende).map { Int($0) }
}
}
public struct Klasse: Decodable, Equatable, Sendable {
public var von: Double?
public var bis: Double?
public var anzahl: Int?
enum CodingKeys: String, CodingKey { case von, bis, anzahl }
public init(from d: Decoder) throws {
let c = try d.container(keyedBy: CodingKeys.self)
von = c.zahl(.von); bis = c.zahl(.bis); anzahl = c.zahl(.anzahl).map { Int($0) }
}
/// "< −50", "−50…−20", "≥ 50"
public var beschriftung: String {
switch (von, bis) {
case (nil, let b?): return "< \(Format.auto(b))"
case (let v?, nil): return "≥ \(Format.auto(v))"
case (let v?, let b?): return "\(Format.auto(v))…\(Format.auto(b))"
default: return "?"
}
}
}
public struct Summe: Decodable, Equatable, Sendable {
public var haende: Int?
public var nettoBB: Double?
public var gewonnen: Int?
public var verloren: Int?
enum CodingKeys: String, CodingKey { case haende, nettoBB = "netto_bb", gewonnen, verloren }
public init(from d: Decoder) throws {
let c = try d.container(keyedBy: CodingKeys.self)
haende = c.zahl(.haende).map { Int($0) }; nettoBB = c.zahl(.nettoBB)
gewonnen = c.zahl(.gewonnen).map { Int($0) }; verloren = c.zahl(.verloren).map { Int($0) }
}
}
public struct Stapel: Decodable, Equatable, Sendable, Identifiable {
public struct Punkt: Decodable, Equatable, Sendable {
public var t: Double?
public var stack: Double?
enum CodingKeys: String, CodingKey { case t, stack }
public init(from d: Decoder) throws {
let c = try d.container(keyedBy: CodingKeys.self)
t = c.zahl(.t); stack = c.zahl(.stack)
}
}
public var raum: String
public var punkte: [Punkt]
public var id: String { raum }
enum CodingKeys: String, CodingKey { case raum, punkte }
public init(from d: Decoder) throws {
let c = try d.container(keyedBy: CodingKeys.self)
raum = c.text(.raum) ?? "?"; punkte = c.objekte(.punkte)
}
}
/// Die Kurven einer Grundlage - eigene Haende oder der ganze Bestand.
public struct Kurven: Decodable, Equatable, Sendable {
public var leer: String?
public var ergebnisKurve: [KurvenPunkt] = []
public var bb100: [StakeZeile] = []
public var jeStunde: [Stunde] = []
public var verteilung: [Klasse] = []
public var summe: Summe?
public var grundlage: String?
public var rechnet = false
enum CodingKeys: String, CodingKey {
case leer, ergebnisKurve = "ergebnis_kurve", bb100, jeStunde = "je_stunde", verteilung, summe, grundlage, rechnet
}
public init(from d: Decoder) throws {
let c = try d.container(keyedBy: CodingKeys.self)
leer = c.text(.leer); ergebnisKurve = c.objekte(.ergebnisKurve); bb100 = c.objekte(.bb100)
jeStunde = c.objekte(.jeStunde); verteilung = c.objekte(.verteilung)
summe = try? c.decodeIfPresent(Summe.self, forKey: .summe); grundlage = c.text(.grundlage)
rechnet = c.wahr(.rechnet)
}
}
public struct Wachstum: Decodable, Equatable, Sendable {
public var eigene: Kurven
public var bestand: Kurven?
public var stapel: [Stapel] = []
public var sitzungen: [Sitzung] = []
public var leer: String? { eigene.leer }
enum CodingKeys: String, CodingKey { case bestand, stapel, sitzungen }
public init(from d: Decoder) throws {
eigene = try Kurven(from: d)
let c = try d.container(keyedBy: CodingKeys.self)
bestand = try? c.decodeIfPresent(Kurven.self, forKey: .bestand)
stapel = c.objekte(.stapel); sitzungen = c.objekte(.sitzungen)
}
}
@@ -0,0 +1,520 @@
{
"typ": "ansicht",
"teile": {
"kopf": {
"laeuft": true,
"text": "läuft seit 18:09",
"seit": 1793293791.0,
"zuletzt": 1793294407.0,
"laufzeit_s": 627.4,
"tische": [],
"tische_offen": 0,
"tische_text": "0 offen, 0 sitzend",
"modus": "Übung",
"modus_quelle": "Dialog",
"klon": false,
"not_aus": false,
"guthaben": null,
"pid": null,
"status": {
"zustand": "liest",
"farbe": "blau",
"satz": "liest den Client - noch kein Tisch"
},
"leer": null
},
"jetzt": {
"raum": null,
"hand": "166547800145",
"strasse": "Turn",
"karten": [
"As",
"Ah"
],
"board": [
"FLOP",
"TURN"
],
"topf": 85931.48,
"zu_zahlen": 0.0,
"stack": 47314.26,
"zug": {
"offen": false,
"frist_s": null,
"bis": null,
"seit": 1793293590.0
},
"entscheidung": {
"aktion": "ABSTAIN",
"aktion_text": "Aussetzen",
"betrag": null,
"betrag_bb": null,
"grund": "Übersetzung setzt aus: Knopf unbekannt (Hand vor dem Logbeginn angefangen)",
"klartext": "Übersetzung setzt aus: Knopf unbekannt (Hand vor dem Logbeginn angefangen)",
"equity": null,
"confidence": null,
"gedenkzeit_s": 0.0,
"zeit": 1793293590.0
},
"klick": {
"status": "ausgesetzt",
"warum": "der Kern setzt aus",
"beleg": ""
},
"leer": null
},
"wachstum": {
"ergebnis_kurve": [
{
"t": 1793287940.0,
"chips": -2320.0,
"bb": -1.16
}
],
"stapel": [
{
"raum": "Big Ben 1672117",
"punkte": [
{
"t": 1793287981.0,
"stack": 77680.0
},
{
"t": 1793287985.0,
"stack": 77680.0
}
]
},
{
"raum": "unbekannt",
"punkte": [
{
"t": 1793198831.0,
"stack": 9.9
},
{
"t": 1793199213.0,
"stack": 2.4
},
{
"t": 1793199213.0,
"stack": 2.4
}
]
}
],
"bb100": [
{
"stake": "1000/2000",
"bb": 2000.0,
"haende": 1,
"bb100": -116.0,
"unten": null,
"oben": null
}
],
"sitzungen": [
{
"raum": "Big Ben 1672117",
"von": 1793287766.0,
"bis": 1793288986.0,
"haende": 1,
"netto_bb": -1.16,
"bb100": -116.0,
"unten": null,
"oben": null
}
],
"je_stunde": [
{
"stunde": 1793286000.0,
"haende": 1
}
],
"verteilung": [
{
"von": null,
"bis": -50,
"anzahl": 0
},
{
"von": -50,
"bis": -20,
"anzahl": 0
},
{
"von": -20,
"bis": -10,
"anzahl": 0
}
],
"bestand": {
"ergebnis_kurve": [],
"bb100": [],
"je_stunde": [],
"verteilung": [
{
"von": null,
"bis": -50,
"anzahl": 0
},
{
"von": -50,
"bis": -20,
"anzahl": 0
},
{
"von": -20,
"bis": -10,
"anzahl": 0
}
],
"summe": {
"haende": 0,
"netto_bb": 0.0,
"gewonnen": 0,
"verloren": 0
},
"haende": 0,
"von": null,
"bis": null,
"rechnet": true,
"grundlage": "0 Sitz-Hände aller Spieler aus dem Archiv (archiv/echt/main*.log.gz)",
"leer": "Bestand wird gerechnet - gleich da"
},
"grundlage": "1 eigene Hände (Protokoll und Statistik, Spieler mmintel)",
"summe": {
"haende": 1,
"netto_bb": -1.16,
"gewonnen": 0,
"verloren": 1
},
"leer": null
},
"entscheidungen": {
"zeilen": [
{
"zeit": 1793293590.0,
"raum": null,
"hand": "166547800145",
"strasse": "Turn",
"karten": [
"As",
"Ah"
],
"board": [
"FLOP",
"TURN"
],
"aktion": "ABSTAIN",
"aktion_text": "Aussetzen",
"betrag_bb": null,
"grund": "Übersetzung setzt aus: Knopf unbekannt (Hand vor dem Logbeginn angefangen)",
"klartext": "Übersetzung setzt aus: Knopf unbekannt (Hand vor dem Logbeginn angefangen)",
"equity": null,
"confidence": null,
"stake": null,
"spielart": "NLHE",
"ergebnis_bb": null,
"ergebnis_text": "offen",
"klick": "ausgesetzt",
"klick_warum": "der Kern setzt aus",
"beleg": "",
"gedenkzeit_s": 0.0
},
{
"zeit": 1793293590.0,
"raum": null,
"hand": "166344000006",
"strasse": "Flop",
"karten": [
"As",
"Kc",
"Qc"
],
"board": [
"FLOP"
],
"aktion": "RAISE",
"aktion_text": "Raise auf 1 BB",
"betrag_bb": 1.0,
"grund": "double board: board 2 judged better (equity 0.66 against 0.57); approximation: better board although the pot split halves it - top pair good kicker on medium board: equity 0.66 vs break-even 0.00, EV raise to 0.05 +0.15",
"klartext": "Double board: board 2 judged better (Equity 0.66 gegen 0.57); approximation: better board although the pot split halves it - top pair good kicker on medium board: Equity 0.66 gegen nötige 0.00, EV Raise auf 0.05 +0.15",
"equity": 0.66,
"confidence": 0.744,
"stake": "0.025/0.05",
"spielart": "PLO4",
"ergebnis_bb": null,
"ergebnis_text": "offen",
"klick": "Schatten",
"klick_warum": "nur protokolliert, nicht geklickt",
"beleg": "",
"gedenkzeit_s": 0.0
},
{
"zeit": 1793293586.0,
"raum": null,
"hand": "166344000006",
"strasse": "Flop",
"karten": [
"As",
"Kc",
"Qc"
],
"board": [
"FLOP"
],
"aktion": "RAISE",
"aktion_text": "Raise auf 1 BB",
"betrag_bb": 1.0,
"grund": "double board: board 2 judged better (equity 0.66 against 0.57); approximation: better board although the pot split halves it - top pair good kicker on medium board: equity 0.66 vs break-even 0.00, EV raise to 0.05 +0.15",
"klartext": "Double board: board 2 judged better (Equity 0.66 gegen 0.57); approximation: better board although the pot split halves it - top pair good kicker on medium board: Equity 0.66 gegen nötige 0.00, EV Raise auf 0.05 +0.15",
"equity": 0.66,
"confidence": 0.744,
"stake": "0.025/0.05",
"spielart": "PLO4",
"ergebnis_bb": null,
"ergebnis_text": "offen",
"klick": "Schatten",
"klick_warum": "nur protokolliert, nicht geklickt",
"beleg": "",
"gedenkzeit_s": 0.0
}
],
"facetten": {
"aktion": [
"ABSTAIN",
"CALL",
"CHECK"
],
"stake": [
"0.025/0.05",
"0.05/0.1",
"1000/2000"
],
"spielart": [
"NLHE",
"PLO4"
],
"ergebnis": [
"gewonnen",
"verloren",
"null"
]
},
"gesamt": 467,
"angezeigt": 467,
"gekappt": false,
"ausschnitt": false,
"hinweis": null,
"leer": null
},
"geld": {
"zeilen": [
{
"zeit": 1793288043.0,
"raum": "Big Ben 1672117",
"art": "Ausgesetzt",
"betrag": null,
"betrag_bb": null,
"stack": null,
"grund": "Stakes oder Stack unbekannt",
"geklickt": null,
"hinweis": "",
"uebung": true
},
{
"zeit": 1793288023.0,
"raum": "Big Ben 1672117",
"art": "Ausgesetzt",
"betrag": null,
"betrag_bb": null,
"stack": null,
"grund": "Stakes oder Stack unbekannt",
"geklickt": null,
"hinweis": "",
"uebung": true
},
{
"zeit": 1793288015.0,
"raum": "Big Ben 1672117",
"art": "Ausgesetzt",
"betrag": null,
"betrag_bb": null,
"stack": null,
"grund": "Stakes oder Stack unbekannt",
"geklickt": null,
"hinweis": "",
"uebung": true
}
],
"uebung": true,
"leer": null
},
"sitzen": {
"raeume": [
{
"raum": "Big Ben 1667798",
"zustand": "unbekannt",
"platz": null,
"stack": null,
"freie": [],
"groesse": null,
"bb": null,
"modus": null,
"handlung": {
"art": "aussetzen",
"grund": "Tischgröße unbekannt (kein game_alldata)",
"zeit": 1793289013.0,
"geklickt": null,
"hinweis": ""
},
"fenster": 0
},
{
"raum": "Big Ben 1668823",
"zustand": "unbekannt",
"platz": null,
"stack": null,
"freie": [],
"groesse": null,
"bb": null,
"modus": null,
"handlung": {
"art": "aussetzen",
"grund": "Tischgröße unbekannt (kein game_alldata)",
"zeit": 1793293771.0,
"geklickt": null,
"hinweis": ""
},
"fenster": 0
},
{
"raum": "Big Ben 1669173",
"zustand": "unbekannt",
"platz": null,
"stack": null,
"freie": [],
"groesse": null,
"bb": null,
"modus": null,
"handlung": {
"art": "claim",
"grund": "Claim Chips offen",
"zeit": 1793287516.0,
"geklickt": [
"claim"
],
"hinweis": ""
},
"fenster": 0
}
],
"fenster": {
"zahl": 0,
"ueberzaehlig": []
},
"leer": null
},
"stil": {
"verlauf": [
{
"fold": 0.25,
"check": 0.3,
"call": 0.15,
"raise": 0.2,
"allin": 0.1,
"n": 20,
"t": 1793198831.0
},
{
"fold": 0.15,
"check": 0.45,
"call": 0.05,
"raise": 0.35,
"allin": 0.0,
"n": 20,
"t": 1793229162.0
},
{
"fold": 0.05,
"check": 0.1,
"call": 0.15,
"raise": 0.5,
"allin": 0.2,
"n": 20,
"t": 1793229651.0
}
],
"groessen": [
{
"betrag_bb": 2.0,
"topf_anteil": 0.93
},
{
"betrag_bb": 76.8,
"topf_anteil": 19.2
},
{
"betrag_bb": 2.0,
"topf_anteil": 0.87
}
],
"denkzeiten": [
{
"s": 1.5
},
{
"s": 1.5
},
{
"s": 1.71
}
],
"denkzeit": {
"median": 4.0,
"streuung": 2.921,
"vk": 0.588,
"n": 28
},
"anteile": {
"fold": 0.108,
"check": 0.16,
"call": 0.093,
"raise": 0.561,
"allin": 0.078,
"n": 399
},
"leer": null
},
"ticker": {
"zeilen": [
{
"zeit": 1793294407.0,
"art": "sitzen",
"raum": "Big Ben 1672022",
"text": "Sitzen (aussetzen): Tischgröße unbekannt (kein game_alldata)."
},
{
"zeit": 1793294398.0,
"art": "sitzen",
"raum": "Big Ben 1672022",
"text": "Sitzen (aussetzen): Tischgröße unbekannt (kein game_alldata)."
},
{
"zeit": 1793294389.0,
"art": "sitzen",
"raum": "Big Ben 1672022",
"text": "Sitzen (aussetzen): Tischgröße unbekannt (kein game_alldata)."
}
],
"gedanken": [
"18:06:30 Hand 166547800145 Turn: Aussetzen | Grund: Übersetzung setzt aus: Knopf unbekannt (Hand vor dem Logbeginn angefangen) | Ergebnis: offen",
"18:06:30 Hand 166344000006 Flop: Raise auf 1 BB | Konfidenz 0,74 | Equity 66 % | Grund: double board: board 2 judged better (equity 0.66 against 0.57); approximation: better board although the pot split halves it - top pair good kicker on medium board: equity 0.66 vs break-even 0.00, EV raise to 0.05 +0.15 | Ergebnis: offen",
"18:06:26 Hand 166344000006 Flop: Raise auf 1 BB | Konfidenz 0,74 | Equity 66 % | Grund: double board: board 2 judged better (equity 0.66 against 0.57); approximation: better board although the pot split halves it - top pair good kicker on medium board: equity 0.66 vs break-even 0.00, EV raise to 0.05 +0.15 | Ergebnis: offen"
],
"leer": null
}
},
"stand": 1793294407.5
}
@@ -0,0 +1,83 @@
import Foundation
import Testing
@testable import CockpitKern
private func fixture() throws -> String {
let url = try #require(Bundle.module.url(forResource: "ansicht", withExtension: "json", subdirectory: "Fixtures"))
return try String(contentsOf: url, encoding: .utf8)
}
@Suite("Nachrichten vom Cockpit-Server")
struct NachrichtSpec {
@Test("eine echte Ansicht fuellt alle acht Bereiche")
func echteAnsicht() throws {
var a = Ansicht()
let n = a.anwenden(try fixture())
#expect(n == .ansicht(Set(Bereich.allCases)))
#expect(a.kopf?.status?.ton == .blau)
#expect(a.kopf?.modus == "Übung")
#expect(a.jetzt?.karten.count == 2)
#expect(a.jetzt?.entscheidung?.aktionText == "Aussetzen")
#expect(a.entscheidungen?.gesamt == 467)
#expect(a.entscheidungen?.zeilen.first?.klick == "ausgesetzt")
#expect(a.sitzen?.raeume.first?.handlung?.art == "aussetzen")
#expect(a.stil?.denkzeit?.median == 4.0)
#expect(a.wachstum?.bestand?.rechnet == true)
#expect(a.geld?.uebung == true)
#expect(a.ticker?.gedanken.isEmpty == false)
#expect(a.stand == 1793294407.5)
}
@Test("ein Teil-Update ersetzt nur die genannten Bereiche")
func teilUpdate() throws {
var a = Ansicht()
_ = a.anwenden(try fixture())
let n = a.anwenden(#"{"typ":"ansicht","teile":{"kopf":{"laeuft":false,"not_aus":true,"status":{"zustand":"gestoppt","farbe":"rot","satz":"Not-Aus aktiv"}}},"stand":5}"#)
#expect(n == .ansicht([.kopf]))
#expect(a.kopf?.notAus == true)
#expect(a.kopf?.status?.ton == .rot)
#expect(a.entscheidungen?.gesamt == 467)
#expect(a.stand == 5)
}
@Test("ein leerer Bereich traegt seinen Text")
func leererBereich() {
var a = Ansicht()
_ = a.anwenden(#"{"typ":"ansicht","teile":{"jetzt":{"leer":"keine Daten (OSError)"}},"stand":1}"#)
#expect(a.jetzt?.leer == "keine Daten (OSError)")
#expect(a.jetzt?.karten == [])
}
@Test("ein kaputter Bereich faellt weg, die anderen kommen an")
func kaputterBereich() {
var a = Ansicht()
let n = a.anwenden(#"{"typ":"ansicht","teile":{"kopf":"quatsch","geld":{"zeilen":[],"uebung":false}},"stand":1}"#)
#expect(n == .ansicht([.kopf, .geld]))
#expect(a.kopf == nil)
#expect(a.geld?.uebung == false)
}
@Test("Zahlen und Texte in Feldern mit wechselndem Typ")
func gemischteTypen() {
var a = Ansicht()
_ = a.anwenden(#"{"typ":"ansicht","teile":{"sitzen":{"raeume":[{"raum":"A","zustand":"gesessen","platz":3,"bb":"0.05/0.1"},{"raum":"B","platz":"7","bb":0.1}]}},"stand":1}"#)
#expect(a.sitzen?.raeume.map(\.platz) == ["3", "7"])
#expect(a.sitzen?.raeume.map(\.bb) == ["0.05/0.1", "0.1"])
}
@Test("eine Rueckmeldung wird gemeldet und aendert nichts an der Ansicht")
func rueckmeldung() {
var a = Ansicht()
let n = a.anwenden(#"{"typ":"rueckmeldung","aktion":"foto","ok":true,"text":"Foto gemacht","raum":"T1","bild":"/foto/foto-1.png"}"#)
#expect(n == .rueckmeldung(Rueckmeldung(aktion: "foto", ok: true, text: "Foto gemacht", raum: "T1", bild: "/foto/foto-1.png")))
#expect(a.kopf == nil)
}
@Test("Unsinn und unbekannte Typen sind unbekannt, nie ein Fehler")
func unsinn() {
var a = Ansicht()
#expect(a.anwenden("kein json") == .unbekannt)
#expect(a.anwenden(#"{"typ":"wetter"}"#) == .unbekannt)
#expect(a.anwenden(#"[1,2]"#) == .unbekannt)
}
}
+200
View File
@@ -0,0 +1,200 @@
import Foundation
import Testing
@testable import CockpitKern
@Suite("Serveradresse aus der Startzeile")
struct ServerAdresseSpec {
@Test func startzeile() {
let a = ServerAdresse(startzeile: "Cockpit: http://127.0.0.1:8791 (Klon)")
#expect(a?.port == 8791)
#expect(a?.http.absoluteString == "http://127.0.0.1:8791")
#expect(a?.websocket.absoluteString == "ws://127.0.0.1:8791/ws")
#expect(a?.steuern.absoluteString == "http://127.0.0.1:8791/api/steuern")
#expect(a?.foto("/foto/foto-1.png")?.absoluteString == "http://127.0.0.1:8791/foto/foto-1.png")
}
@Test func andereZeilenNicht() {
#expect(ServerAdresse(startzeile: "Leiste offen") == nil)
#expect(ServerAdresse(startzeile: "Cockpit: http://example.com:8787 (echt)") == nil)
#expect(ServerAdresse(startzeile: "Cockpit: http://127.0.0.1:abc (echt)") == nil)
}
@Test("nur Fotos aus /foto/ werden zu Adressen")
func fotoNurLokal() {
let a = ServerAdresse(port: 8787)
#expect(a.foto("https://evil.example/x.png") == nil)
#expect(a.foto("/foto/../geheim") == nil)
}
}
@Suite("ESC als Not-Aus")
struct EscSpec {
@Test("ein frisch angekuendigtes ESC ist das eigene des Bots")
func eigene() {
#expect(EscRegel.entscheiden(eigeneTasteAlter: 0.4, laeuft: true) == .eigene)
#expect(EscRegel.entscheiden(eigeneTasteAlter: 1.49, laeuft: nil) == .eigene)
}
@Test("ab 1,5 s ist die Ankuendigung alt")
func grenze() {
#expect(EscRegel.entscheiden(eigeneTasteAlter: 1.5, laeuft: true) == .notAus)
}
@Test("laeuft nichts, haelt ESC nichts an")
func ruhe() {
#expect(EscRegel.entscheiden(eigeneTasteAlter: nil, laeuft: false) == .ruhe)
}
@Test("im Zweifel anhalten")
func zweifel() {
#expect(EscRegel.entscheiden(eigeneTasteAlter: nil, laeuft: nil) == .notAus)
}
}
@Suite("Ausweichen bei Bot-Klicks")
struct AusweichenSpec {
@Test func frisch() {
#expect(Ausweichen.aktiv(dateiAlter: 0.1))
#expect(Ausweichen.aktiv(dateiAlter: 2.49))
#expect(!Ausweichen.aktiv(dateiAlter: 2.5))
#expect(!Ausweichen.aktiv(dateiAlter: nil))
}
}
@Suite("Rahmen fuer hand/act.py und sicht/tische.py")
struct RahmenSpec {
@Test("unten-links (AppKit) wird oben-links (Bildschirmpunkte)")
func umrechnen() {
let r = Rahmen.obenLinks(x: 1000.4, y: 20, breite: 420, hoehe: 1000, hauptHoehe: 1117)
#expect(r == [1000, 97, 420, 1000])
}
@Test("Datei im Format, das act.py liest")
func datei() throws {
let d = Rahmen.datei(rect: [1, 2, 3, 4], zeit: 10.5)
let j = try JSONSerialization.jsonObject(with: d) as? [String: Any]
#expect(j?["rect"] as? [Int] == [1, 2, 3, 4])
#expect(j?["zeit"] as? Double == 10.5)
}
}
@Suite("Platzierung des Panels")
struct PlatzierungSpec {
let sicht = Flaeche(x: 0, y: 0, breite: 1728, hoehe: 1080)
@Test("Leiste rechts: volle Hoehe am rechten Rand")
func leisteRechts() {
#expect(Platzierung.leiste(in: sicht, seite: .rechts, breite: 420) == Flaeche(x: 1308, y: 0, breite: 420, hoehe: 1080))
}
@Test("Leiste links: volle Hoehe am linken Rand")
func leisteLinks() {
#expect(Platzierung.leiste(in: sicht, seite: .links, breite: 420) == Flaeche(x: 0, y: 0, breite: 420, hoehe: 1080))
}
@Test("zu schmaler Bildschirm: die Leiste wird nie breiter als die Haelfte")
func schmal() {
let s = Flaeche(x: 0, y: 0, breite: 600, hoehe: 800)
#expect(Platzierung.leiste(in: s, seite: .rechts, breite: 420).breite == 300)
}
@Test("Pille: oben, auf der Seite der Leiste, mit Abstand")
func pille() {
let p = Platzierung.pille(in: sicht, seite: .rechts, breite: 360, hoehe: 44)
#expect(p == Flaeche(x: 1728 - 360 - Platzierung.abstand, y: 1080 - 44 - Platzierung.abstand, breite: 360, hoehe: 44))
let l = Platzierung.pille(in: sicht, seite: .links, breite: 360, hoehe: 44)
#expect(l.x == Platzierung.abstand)
}
@Test("die Seite folgt dem Ort, an den man das Panel zieht")
func seiteNachOrt() {
#expect(Platzierung.naechsteSeite(mitteX: 200, in: sicht) == .links)
#expect(Platzierung.naechsteSeite(mitteX: 1500, in: sicht) == .rechts)
}
}
@Suite("Countdown fuer den offenen Zug")
struct CountdownSpec {
@Test func rest() {
let z = Zug(offen: true, fristS: 15, bis: 110, seit: 95)
#expect(Countdown(zug: z, jetzt: 100)?.rest == 10)
#expect(Countdown(zug: z, jetzt: 100)?.anteil == 10.0 / 15.0)
#expect(Countdown(zug: z, jetzt: 120)?.rest == 0)
#expect(Countdown(zug: z, jetzt: 120)?.anteil == 0)
}
@Test("ohne offenen Zug oder ohne Frist kein Countdown")
func keiner() {
#expect(Countdown(zug: Zug(offen: false, fristS: 15, bis: 110, seit: 95), jetzt: 100) == nil)
#expect(Countdown(zug: Zug(offen: true, fristS: nil, bis: nil, seit: 95), jetzt: 100) == nil)
#expect(Countdown(zug: nil, jetzt: 100) == nil)
}
}
@Suite("Filter der Entscheidungen - gleiche Regel wie ansicht.filtern")
struct FilterSpec {
func zeile(_ aktion: String, ergebnis: Double?, grund: String = "", karten: [String] = [], raum: String? = nil, stake: String? = nil) -> EntscheidungsZeile {
EntscheidungsZeile(zeit: 0, raum: raum, hand: "h1", strasse: "Flop", karten: karten, board: [], aktion: aktion,
aktionText: aktion, betragBB: nil, grund: grund, klartext: "", equity: nil, confidence: nil,
stake: stake, spielart: "NLHE", ergebnisBB: ergebnis, ergebnisText: "", klick: "", klickWarum: "",
beleg: "", gedenkzeitS: nil)
}
@Test func felder() {
let z = [zeile("FOLD", ergebnis: nil, stake: "1/2"), zeile("RAISE", ergebnis: 2, stake: "1/2"), zeile("RAISE", ergebnis: -1, stake: "2/4")]
#expect(EntscheidungsFilter(aktion: "RAISE").anwenden(z).count == 2)
#expect(EntscheidungsFilter(aktion: "RAISE", stake: "2/4").anwenden(z).count == 1)
#expect(EntscheidungsFilter().anwenden(z).count == 3)
}
@Test func ergebnis() {
let z = [zeile("A", ergebnis: nil), zeile("B", ergebnis: 2), zeile("C", ergebnis: -1), zeile("D", ergebnis: 0)]
#expect(EntscheidungsFilter(ergebnis: .gewonnen).anwenden(z).map(\.aktion) == ["B"])
#expect(EntscheidungsFilter(ergebnis: .verloren).anwenden(z).map(\.aktion) == ["C"])
#expect(EntscheidungsFilter(ergebnis: .null).anwenden(z).map(\.aktion) == ["D"])
#expect(EntscheidungsFilter(ergebnis: .offen).anwenden(z).map(\.aktion) == ["A"])
}
@Test("Suche ohne Gross/klein in Grund, Karten, Hand und Raum")
func suche() {
let z = [zeile("A", ergebnis: nil, grund: "Pot Odds gut"), zeile("B", ergebnis: nil, karten: ["Qh", "8c"]),
zeile("C", ergebnis: nil, raum: "Big Ben 1")]
#expect(EntscheidungsFilter(suche: "odds").anwenden(z).map(\.aktion) == ["A"])
#expect(EntscheidungsFilter(suche: "qh 8C").anwenden(z).map(\.aktion) == ["B"])
#expect(EntscheidungsFilter(suche: "big ben").anwenden(z).map(\.aktion) == ["C"])
#expect(EntscheidungsFilter(suche: "H1").anwenden(z).count == 3)
#expect(EntscheidungsFilter(suche: " ").anwenden(z).count == 3)
}
}
@Suite("Zahlen auf Deutsch")
struct FormatSpec {
@Test func zahlen() {
#expect(Format.zahl(1234.5) == "1.234,5")
#expect(Format.zahl(nil) == "–")
#expect(Format.auto(1234.567) == "1.235")
#expect(Format.auto(12.345) == "12,3")
#expect(Format.auto(1.2345) == "1,23")
#expect(Format.prozent(0.456) == "46 %")
#expect(Format.vorzeichen(2.5) == "+2,5")
#expect(Format.vorzeichen(-2.5) == "−2,5")
}
@Test("Karten mit Farbsymbol")
func karten() {
#expect(Karte("Qh")?.rang == "Q")
#expect(Karte("Qh")?.farbe == .herz)
#expect(Karte("Ts")?.rang == "10")
#expect(Karte("FLOP") == nil)
}
}
@Suite("Ton des Statuspunkts")
struct TonSpec {
@Test func farben() {
#expect(Ton(farbe: "rot") == .rot)
#expect(Ton(farbe: "gruen") == .gruen)
#expect(Ton(farbe: "lila") == .grau)
#expect(Ton(farbe: nil) == .grau)
}
}