* update dependencies * update react-native-image-picker * use Xcode 14.2 on CI * downgrade readable-stream * update fastlane * Revert "use Xcode 14.2 on CI" This reverts commit cb0ed81a85d79ca37d1dd7f23fd44450a3d5ddde.
26 lines
No EOL
666 B
Bash
Executable file
26 lines
No EOL
666 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
if [[ "$OSTYPE" == "darwin"* ]]; then
|
|
echo "Installing Gems"
|
|
npm run ios-gems &> /dev/null
|
|
echo "Getting Cocoapods dependencies"
|
|
npm run pod-install &> /dev/null
|
|
fi
|
|
|
|
COMPASS_ICONS="node_modules/@mattermost/compass-icons/font/compass-icons.ttf"
|
|
if [ -z "$COMPASS_ICONS" ]; then
|
|
echo "Compass Icons font not found"
|
|
exit 1
|
|
else
|
|
echo "Configuring Compass Icons font"
|
|
cp "$COMPASS_ICONS" "assets/fonts/"
|
|
cp "$COMPASS_ICONS" "android/app/src/main/assets/fonts"
|
|
fi
|
|
|
|
ASSETS=$(node scripts/generate-assets.js)
|
|
if [ -z "$ASSETS" ]; then
|
|
echo "Error Generating app assets"
|
|
exit 1
|
|
else
|
|
echo "Generating app assets"
|
|
fi |