Created
March 18, 2020 14:17
-
-
Save TechIsFun/fffca5662de11ccbe03593e9bc4a1cba to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env bash | |
############ | |
# https://github.com/microsoft/appcenter/blob/master/sample-build-scripts/flutter/ios-build/appcenter-post-clone.sh | |
########### | |
# fail if any command fails | |
set -e | |
# debug log | |
set -x | |
cd .. | |
git clone -b beta https://github.com/flutter/flutter.git | |
export PATH=`pwd`/flutter/bin:$PATH | |
flutter channel stable | |
flutter doctor | |
echo "Installed flutter to `pwd`/flutter" | |
# execute tests | |
flutter test | |
# build | |
flutter build ios --release --no-codesign | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment