CLAUDE.md gains a 'How this project is developed' section: strictly serial Dev (Opus 5) -> QA (Sonnet 5, code quality) -> lead inspection; commit along the way without requiring every commit to compile; the user is the tester. docs/loop.md, docs/topo.md and TODO.md are rewritten to a serial lane order with no test-writing items; the test targets are removed and tools/gates.sh is lint + layering grep + build. Co-Authored-By: Claude Fable 5.1 <[email protected]>
24 lines
892 B
Swift
24 lines
892 B
Swift
// swift-tools-version:6.0
|
|
// mwb-mac — see README.md (D1, D2) for why these four targets exist and
|
|
// what each may import. Target names are frozen (docs/features/bootstrap).
|
|
import PackageDescription
|
|
|
|
let package = Package(
|
|
name: "mwb-mac",
|
|
platforms: [.macOS(.v14)],
|
|
products: [
|
|
.executable(name: "mwb", targets: ["mwb"])
|
|
],
|
|
targets: [
|
|
// Pure logic: protocol, crypto, matrix, settings. Foundation + CommonCrypto only.
|
|
.target(name: "MWBCore"),
|
|
// Sockets: Network.framework only.
|
|
.target(name: "MWBNet", dependencies: ["MWBCore"]),
|
|
// Platform: AppKit / CoreGraphics only.
|
|
.target(name: "MWBMac", dependencies: ["MWBCore"]),
|
|
// The app: the only place MWBNet and MWBMac meet.
|
|
.executableTarget(name: "mwb", dependencies: ["MWBCore", "MWBNet", "MWBMac"]),
|
|
],
|
|
swiftLanguageModes: [.v6]
|
|
)
|