Update CONTRIBUTING.md (flutter/engine#3203)

At some point recently we started putting a JSON file in the out/ directory and this broke this suggested build script.
This patch makes the script more resilient to such files.
This commit is contained in:
Ian Hickson
2016-11-04 14:36:27 -07:00
committed by GitHub
parent e1cdf9ef48
commit d0de04bfa7

View File

@@ -160,7 +160,7 @@ flutter/tools/gn --android --runtime-mode=profile
flutter/tools/gn --android --runtime-mode=release
cd out
ls | xargs -n 1 sh -c 'ninja -C $0 || exit 255'
find . -mindepth 1 -maxdepth 1 -type d | xargs -n 1 sh -c 'ninja -C $0 || exit 255'
flutter update-packages --upgrade
```