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:
@@ -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
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user