Skip to content

Instantly share code, notes, and snippets.

@badsyntax
Last active October 21, 2021 07:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save badsyntax/e0b4ffa10f6dec7aaf9a201c9d04ba10 to your computer and use it in GitHub Desktop.
Save badsyntax/e0b4ffa10f6dec7aaf9a201c9d04ba10 to your computer and use it in GitHub Desktop.
build-ios.sh
#!/usr/bin/env bash
echo
echo "!!!! BUILDING IOS, PLEASE WAIT... !!!!!"
echo
npm ci
npm run lint
npm run markdown-link-check
npm run test -- --no-watchman
cd ios
pod install
RN_SRC_EXT=e2e.ts ENVFILE=.env.test xcodebuild -sdk iphonesimulator -derivedDataPath ./build -configuration Release -workspace ./FOO.xcworkspace -scheme FOO build
cd ../
npm run test:ios:release:ci
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment