* update js dependencies * update react-native libraries * update watermelonDB * update RN to 0.72.7 * update fastlane * fix remove_markdown/at_mention import * update mattermost libraries * update fastlane deps * remove haptic-feedback patch * update okhttp to 4.12.0 and patch netinfo to accurately identify VPN connections * create ImaegStyles intersection type
22 lines
No EOL
521 B
Bash
Executable file
22 lines
No EOL
521 B
Bash
Executable file
#!/usr/bin/env bash
|
|
|
|
function cocoapods() {
|
|
echo "Installing Cocoapods"
|
|
if [[ $(uname -p) == 'arm' ]]; then
|
|
npm run ios-gems-m1 &> /dev/null || exit 1
|
|
else
|
|
npm run ios-gems &> /dev/null || exit 1
|
|
fi
|
|
|
|
}
|
|
|
|
if [[ "$OSTYPE" == "darwin"* ]]; then
|
|
if !(gem list bundler -i --version 2.3.26) > /dev/null 2>&1; then
|
|
echo "Installing Bundler"
|
|
gem install bundler --version 2.3.26 || exit 1
|
|
fi
|
|
|
|
if !(gem list cocoapods -i --version 1.14.3) > /dev/null 2>&1; then
|
|
cocoapods
|
|
fi
|
|
fi |