Make the script rebase the right repository (flutter/engine#3025)

This commit is contained in:
Ian Hickson
2016-09-13 23:40:50 -07:00
committed by GitHub
parent 8e3cf29c2f
commit b134c83830

View File

@@ -141,15 +141,16 @@ to the main Flutter repository for detailed instructions.
### Building all the builds that matter on Linux and Android
The following script will update all the builds that matter if you're developing on Linux and testing on Android:
The following script will update all the builds that matter if you're developing on Linux and testing on Android and created the `.gclient` file in `~/dev/engine`:
```bash
set -ex
cd ~/dev/engine/src
cd ~/dev/engine/src/flutter
git fetch upstream
git rebase upstream/master
gclient sync
cd ..
flutter/tools/gn --unoptimized --runtime-mode=debug
flutter/tools/gn --android --unoptimized --runtime-mode=debug