Files
coucou/scripts/test-settings-search.sh
Claude e3c821b7b2 Settings search in the Coucou window
A field under Coucou in the sidebar searches every setting of Flow, the notch
and Mail, in the app's language, whatever the accents. The results replace the
pages while something is typed; a click (or Return) opens the page, scrolls to
the box and makes it glow.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
2026-10-30 16:58:22 +01:00

10 lines
382 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "$0")/.."
TEST_DIR="$(mktemp -d "${TMPDIR:-/tmp}/coucou-settings-search.XXXXXX")"
trap 'rm -rf "$TEST_DIR"' EXIT
swiftc -swift-version 6 -strict-concurrency=complete \
NotchBuddy/Sources/App/SettingsSearchMatch.swift \
tests/SettingsSearchTests.swift -o "$TEST_DIR/settings-search-tests"
"$TEST_DIR/settings-search-tests"