react-native-mask-segment-c.../ios/scripts/setup_vendor_pods.sh
a1518 8bc66a4ee9
Some checks failed
Publish to npm / publish (push) Has been cancelled
refactor: remove Chinese, add build obfuscation, polish README
- Remove all Chinese characters from src/, example/, ios/, patches/, tests/
- Add esbuild-based build obfuscation (minify + identifier mangle + no sourcemaps)
- Drop src/ from npm publish, only ship minified dist/
- Remove source maps and declaration maps from build output
- Add README icons and visual polish throughout
- Fix broken Table of Contents anchor links in README

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-07-01 19:07:32 -07:00

16 lines
540 B
Bash
Executable File

#!/usr/bin/env bash
# Optional: pre-check GitHub mirror availability (default mirror see ios/offline_pods.rb)
set -euo pipefail
MIRROR="${COCOAPODS_GITHUB_MIRROR:-https://ghproxy.net/https://github.com}"
TEST_URL="${MIRROR}/google/double-conversion.git"
echo "Checking CocoaPods GitHub mirror..."
if git ls-remote "$TEST_URL" HEAD >/dev/null 2>&1; then
echo "✓ Mirror OK: $MIRROR"
else
echo "✗ Mirror unreachable: $MIRROR"
echo " Try: export COCOAPODS_GITHUB_MIRROR='https://mirror.ghproxy.com/https://github.com'"
exit 1
fi