Wire project infrastructure
This commit is contained in:
6
tools/verify-ios-flags.sh
Executable file
6
tools/verify-ios-flags.sh
Executable file
@@ -0,0 +1,6 @@
|
||||
#!/usr/bin/env bash
|
||||
# Enforces INFRA-03 / D-18: iOS K/N flags present in gradle.properties.
|
||||
set -euo pipefail
|
||||
grep -q '^kotlin\.native\.binary\.gc=cms$' gradle.properties || { echo "MISSING: kotlin.native.binary.gc=cms" >&2; exit 1; }
|
||||
grep -q '^kotlin\.native\.binary\.objcDisposeOnMain=false$' gradle.properties || { echo "MISSING: kotlin.native.binary.objcDisposeOnMain=false" >&2; exit 1; }
|
||||
echo "OK: iOS binary flags present."
|
||||
Reference in New Issue
Block a user