Created
August 8, 2019 14:44
-
-
Save vishna/a171fc4420e2fc2b90b8254bc3bde0f7 to your computer and use it in GitHub Desktop.
Script to reproduce https://github.com/flutter/flutter/issues/37852
This file contains hidden or 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/sh | |
# Makes the bash script to print out every command before it is executed except echo | |
trap '[[ $BASH_COMMAND != echo* ]] && echo $BASH_COMMAND' DEBUG | |
echo "Executing steps to repro issue #37852" | |
echo "https://github.com/flutter/flutter/issues/37852" | |
echo "MAKE SURE YOU'RE ON MASTER CHANNEL!" | |
echo "MAKE SURE YOU HAVE iOS SIMULATOR RUNNING" | |
# flutter channel master | |
# flutter upgrade | |
echo "Creating sample flutter module..." | |
flutter create -t module my_flutter | |
cd my_flutter | |
echo "Downloading yaml with extra depenendency..." | |
wget https://gist.githubusercontent.com/vishna/5b7939e9c42f2a160103e5123ce6f099/raw/7f2a680cc131e59f6f005fb6081af321373cd2de/my_flutter_pubspec.yaml -O pubspec.yaml | |
echo "Running module on device..." | |
flutter run |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You should see following error at the end