mirror of
https://github.com/VibedByKaKi/t3-code-android-nightly.git
synced 2026-10-10 12:21:16 +02:00
Co-authored-by: Claude Opus 5 (1M context) <noreply@anthropic.com> Co-authored-by: Julius Marminge <julius0216@outlook.com>
12 lines
463 B
Bash
12 lines
463 B
Bash
#!/bin/bash
|
|
set -euo pipefail
|
|
module_dir=$(cd "$(dirname "$0")/.." && pwd)
|
|
sdk=$(xcrun --sdk macosx --show-sdk-path)
|
|
compiler=$(xcrun --find swiftc)
|
|
output=$(mktemp -d)
|
|
trap 'rm -rf "$output"' EXIT
|
|
"$compiler" -O -target "$(uname -m)-apple-ios16.1-macabi" -sdk "$sdk" \
|
|
-F "$sdk/System/iOSSupport/System/Library/Frameworks" \
|
|
"$module_dir/ios/ReviewDiffCodeLayout.swift" "$module_dir/tests/ios/main.swift" \
|
|
-o "$output/layout-tests"
|
|
"$output/layout-tests"
|