mirror of
https://github.com/GitJournal/GitJournal.git
synced 2025-06-30 03:19:11 +08:00
Add a script to download the ios dependencies
We need libgit2 / libssh2 / openssl in order for our app.
This commit is contained in:
23
scripts/download_ios_frameworks.sh
Executable file
23
scripts/download_ios_frameworks.sh
Executable 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
|
Reference in New Issue
Block a user