Establish watch relay contracts and platform package wiring

This commit is contained in:
2026-09-18 09:34:26 +04:00
parent a92698e1e6
commit 9b87299bf5
22 changed files with 778 additions and 159 deletions
+4 -1
View File
@@ -5,11 +5,14 @@ scratch=$(mktemp -d "${TMPDIR:-/private/tmp}/wristivo-check.XXXXXX")
trap 'rm -rf "$scratch"' EXIT
export CLANG_MODULE_CACHE_PATH="$scratch/clang-cache"
export SWIFTPM_MODULECACHE_OVERRIDE="$scratch/module-cache"
# This dependency-free package has no plugins. Disable nested SwiftPM sandboxing
# These local packages have no third-party dependencies or plugins. Disable nested SwiftPM sandboxing
# for agent environments; Swift Testing does not need the XCTest bundle runner.
swift test --package-path Packages/WristivoKit --scratch-path "$scratch/swiftpm" \
--cache-path "$scratch/cache" --config-path "$scratch/config" \
--security-path "$scratch/security" --disable-sandbox --disable-xctest
swift test --package-path Adapters/WatchBridge --scratch-path "$scratch/watchbridge" \
--cache-path "$scratch/cache" --config-path "$scratch/config" \
--security-path "$scratch/security" --disable-sandbox --disable-xctest
plutil -lint Resources/PrivacyInfo.xcprivacy
if [ "${1:-}" = "--apps" ]; then
extra_args=()