Last active
November 12, 2019 14:47
-
-
Save bbedward/f7e32bfd159f55e74f0844b39c7d74ae to your computer and use it in GitHub Desktop.
Flutter build wrapper for fastlane
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
#!/bin/bash | |
cd ../../ | |
if [ "$1" == "--clean" ] | |
then | |
echo "Running clean..." | |
flutter clean | |
else | |
echo "Skipping clean..." | |
fi | |
if [ "$1" == "--apk" ] | |
then | |
echo "Building APK..." | |
flutter build apk --release | |
else | |
echo "Building AAB..." | |
flutter build appbundle --release | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment