Exclude macOS/Linux/x86_64 binaries from pub.dev to fit 100MB limit

Ship iOS + Android arm64 in the package (23MB compressed).
macOS, Linux, and Android x86_64 (emulator): build from source with ./build_go.sh

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
This commit is contained in:
Mathias Beaulieu-Duncan 2026-03-14 08:10:42 -04:00
parent feb03b9041
commit acae157519

View File

@ -15,5 +15,11 @@ ios/.gitignore
build_go.sh build_go.sh
test/ test/
# Exclude large binaries to stay under pub.dev 100MB limit.
# Ship iOS + Android arm64. Other platforms: build from source with ./build_go.sh
android/src/main/jniLibs/x86_64/
linux/
macos/TailscaleKit.xcframework/
# Override ios/.gitignore — the xcframework MUST ship with the package # Override ios/.gitignore — the xcframework MUST ship with the package
!ios/TailscaleKit.xcframework/ !ios/TailscaleKit.xcframework/