mirror of
https://github.com/flame-engine/flame.git
synced 2025-10-28 23:46:52 +08:00
PR nits
This commit is contained in:
@ -16,19 +16,14 @@ for f in doc/examples/**/pubspec.yaml; do
|
||||
cd - > /dev/null
|
||||
done
|
||||
|
||||
analyzer() {
|
||||
cd $1
|
||||
flutter pub get
|
||||
result=$(flutter analyze .)
|
||||
if ! echo "$result" | grep -q "No issues found!"; then
|
||||
echo "$result"
|
||||
echo "flutter analyze issue: $1"
|
||||
exit 1
|
||||
fi
|
||||
cd - > /dev/null
|
||||
}
|
||||
|
||||
analyzer .
|
||||
cd .
|
||||
flutter pub get
|
||||
result=$(flutter analyze .)
|
||||
if ! echo "$result" | grep -q "No issues found!"; then
|
||||
echo "$result"
|
||||
echo "flutter analyze issue: $1"
|
||||
exit 1
|
||||
fi
|
||||
|
||||
echo "success"
|
||||
exit 0
|
||||
|
||||
Reference in New Issue
Block a user