build_ios: Download the required libs

This commit is contained in:
Vishesh Handa
2020-09-04 11:47:48 +02:00
parent 5b26d8cb1d
commit 12fce59fc5

View File

@ -17,6 +17,15 @@ if [[ $(git status -s | grep -v '??') ]]; then
exit 1 exit 1
fi fi
# Download the required libraries
export LIBS_URL="https://github.com/GitJournal/ios-libraries/releases/download/v1.1/libs.zip"
if [ ! -d "ios/libs" ]; then
echo "Downloading Libs"
wget "$LIBS_URL"
unzip libs.zip
fi
flutter build ios --release flutter build ios --release
cd ios cd ios