Add a script to download the ios dependencies

We need libgit2 / libssh2 / openssl in order for our app.
This commit is contained in:
Vishesh Handa
2019-05-30 13:34:20 +02:00
parent aa99f0bada
commit 88499a45c2

View File

@ -0,0 +1,23 @@
#!/usr/bin/env bash
set -eux
cd "$(dirname "$0")"/../ios
rm -rf libs
mkdir -p libs
cd libs
curl -J -L \
https://github.com/GitJournal/build-openssl-ios/releases/download/v1.1.1b/release.tgz \
-o release_openssl.tar.gz
curl -J -L \
https://github.com/GitJournal/ios-libraries/releases/download/v1.0/release.tgz \
-o release.tar.gz
tar -xf release_openssl.tar.gz
rm -rf release_openssl.tar.gz
tar -xf release.tar.gz
rm -rf release.tar.gz