This commit is contained in:
Erick Zanardo
2020-06-23 19:38:24 -03:00
parent 48856815db
commit e43e6817fc

View File

@ -16,8 +16,7 @@ for f in doc/examples/**/pubspec.yaml; do
cd - > /dev/null
done
analyzer() {
cd $1
cd .
flutter pub get
result=$(flutter analyze .)
if ! echo "$result" | grep -q "No issues found!"; then
@ -25,10 +24,6 @@ analyzer() {
echo "flutter analyze issue: $1"
exit 1
fi
cd - > /dev/null
}
analyzer .
echo "success"
exit 0