From 807dca4ac827175b6a568cf47bae80db7a7a6d4b Mon Sep 17 00:00:00 2001 From: Vishesh Handa Date: Fri, 4 Sep 2020 22:21:56 +0200 Subject: [PATCH] build_ios: Get gj_common if it doesn't exist --- scripts/build_ios.sh | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/scripts/build_ios.sh b/scripts/build_ios.sh index 15812792..b22a0a59 100755 --- a/scripts/build_ios.sh +++ b/scripts/build_ios.sh @@ -26,6 +26,13 @@ if [ ! -d "ios/libs" ]; then unzip libs.zip fi +# Place gj_common +if [ ! -L "gj_common" ]; then + echo "=> gj_common doesn't exist. Cloning" + git clone https://github.com/GitJournal/git_bindings.git + ln -s git_bindings/gj_common gj_common +fi + flutter build ios --release cd ios