Files
coucou/scripts/test-review-policy.sh
Claude 39e9e7f60c App Store build: ask for a review after good moments (Mac and iPhone)
The Mac asks after a finished session, the 8th one at least; the iPhone after
a few decisions sent from it. Never in the first three days, once per version
(ReviewPolicy, with its tests), and through Apple's own request, which shows at
most three times a year. The GitHub build never asks.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01LJm3SRL9k3gBPaVtfPhwcT
2026-11-06 12:33:17 +01:00

8 lines
294 B
Bash
Executable File

#!/usr/bin/env bash
set -euo pipefail
cd "$(dirname "$0")/.."
TEST_DIR="$(mktemp -d "${TMPDIR:-/tmp}/coucou-review.XXXXXX")"
trap 'rm -rf "$TEST_DIR"' EXIT
swiftc NotchBuddy/Sources/CoucouKit/ReviewPolicy.swift tests/ReviewPolicyTests.swift -o "$TEST_DIR/review-tests"
"$TEST_DIR/review-tests"