fluffychat/scripts/code_analyze.sh
2021-10-26 20:13:06 +02:00

8 lines
324 B
Bash
Executable File

#!/bin/sh -ve
flutter pub get
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 pub get
flutter analyze
flutter pub run dart_code_metrics:metrics lib -r gitlab > code-quality-report.json || true