mirror of
https://github.com/Louis-CFM/coucou.git
synced 2026-12-06 23:24:20 +09:00
* iPhone step 3: CoucouKit, the code shared by the Mac and the iPhone Moves BotEngine, the outfits, the wardrobe, PillCatalog, DiffEngine and the models (IslandTypes, IslandScreenGeometry) unchanged from Sources/App to Sources/CoucouKit, plus the hex color helpers. The Mac targets still compile all of Sources/, so nothing changes for them; the iPhone target now compiles CoucouKit too. Adds MochiStill (one frame, no timer) and a CoucouKit preview screen on the iPhone. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016qkcwzfTWvbmbc2y9dur6p * CoucouKit: CGColor.white/.black/.clear for iOS (macOS-only in CoreGraphics) Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_016qkcwzfTWvbmbc2y9dur6p --------- Co-authored-by: Claude <noreply@anthropic.com>
9 lines
308 B
Bash
Executable File
9 lines
308 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")/.."
|
|
TEST_DIR="$(mktemp -d "${TMPDIR:-/tmp}/coucou-wardrobe.XXXXXX")"
|
|
trap 'rm -rf "$TEST_DIR"' EXIT
|
|
swiftc NotchBuddy/Sources/CoucouKit/MochiWardrobe.swift \
|
|
tests/MochiWardrobeTests.swift -o "$TEST_DIR/wardrobe-tests"
|
|
"$TEST_DIR/wardrobe-tests"
|