Files
mac_without_borders/Package.swift
T
lucioandClaude Fable 5.1 671b3dfa61 bootstrap: SwiftPM skeleton, gates, bundler, and the lane procedure
Four targets (MWBCore, MWBNet, MWBMac, mwb) with a layering test that
keeps MWBCore free of AppKit/CoreGraphics/Network; tools/gates.sh as the
definition of done; tools/bundle.sh producing a signed dist/mwb.app;
tools/lane.sh for lane worktrees; smoke binary with --version and
--check-permissions. docs/loop.md records the Dev -> QA -> lead loop with
the literal dispatch prompts, the wave schedule and escalations.

Co-Authored-By: Claude Fable 5.1 <[email protected]>
2026-09-15 23:46:24 -07:00

26 lines
1.0 KiB
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"]),
.testTarget(name: "MWBCoreTests", dependencies: ["MWBCore"]),
.testTarget(name: "MWBNetTests", dependencies: ["MWBNet"]),
],
swiftLanguageModes: [.v6]
)