fix: Analyze format and imports before patching

onboarding
Krille Fear 3 years ago
parent 6336a74bde
commit 7e5a460dde

@ -1,6 +1,6 @@
#!/bin/sh -ve
git apply ./scripts/enable-android-google-services.patch
flutter format lib/ test/ --set-exit-if-changed
flutter pub run import_sorter:main --no-comments --exit-if-changed
flutter format lib/ test/ --set-exit-if-changed
git apply ./scripts/enable-android-google-services.patch
flutter analyze
flutter pub run dart_code_metrics:metrics lib -r gitlab > code-quality-report.json || true
Loading…
Cancel
Save