mattermost-mobile/scripts/postinstall.sh
Elias Nahum b226d451f3
update dependencies (#4958)
* update dependencies

* revert keychain update

* Update dependencies & Fastlane

* set path agnostic for bash in scrips

* Fix open from push notification race

* patch react-native-localize
2020-11-18 19:45:07 -07:00

19 lines
No EOL
463 B
Bash
Executable file

#!/usr/bin/env bash
if [[ "$OSTYPE" == "darwin"* ]]; then
if !gem list bundler -i --version 2.1.4 > /dev/null 2>&1; then
gem install bundler --version 2.1.4
fi
echo "Installing Gems"
npm run ios-gems &> /dev/null
echo "Getting Cocoapods dependencies"
npm run pod-install &> /dev/null
fi
ASSETS=$(node scripts/generate-assets.js)
if [ -z "$ASSETS" ]; then
echo "Error Generating app assets"
exit 1
else
echo "Generating app assets"
fi