mirror of
https://github.com/Louis-CFM/coucou.git
synced 2026-12-06 23:24:20 +09:00
- Move safeWebURL(_:) from IslandViewContent.swift to SafeWebURL.swift so it can be compiled and tested independently - Add tests/SafeWebURLTests.swift: 15 cases (5 accepted, 10 rejected) - Add scripts/test-safe-links.sh on the same model as test-screen-geometry.sh - Add "Test link filter" step to build.yml after "Test screen geometry" - CHANGELOG: add entry for http/https-only links (#16) - docs/INTEGRATIONS.md: document that Open button is disabled for non-web URLs - docs/support.html: typographic apostrophes in French no-notch FAQ answer Co-authored-by: Cris1670 <20190806+Cris1670@users.noreply.github.com> Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
9 lines
302 B
Bash
Executable File
9 lines
302 B
Bash
Executable File
#!/usr/bin/env bash
|
|
set -euo pipefail
|
|
cd "$(dirname "$0")/.."
|
|
TEST_DIR="$(mktemp -d "${TMPDIR:-/tmp}/coucou-safe-links.XXXXXX")"
|
|
trap 'rm -rf "$TEST_DIR"' EXIT
|
|
swiftc NotchBuddy/Sources/App/SafeWebURL.swift \
|
|
tests/SafeWebURLTests.swift -o "$TEST_DIR/safe-links-tests"
|
|
"$TEST_DIR/safe-links-tests"
|