fluffychat/scripts/code_analyze.sh

8 lines
324 B
Bash
Raw Normal View History

2020-12-08 15:46:47 +01:00
#!/bin/sh -ve
2021-10-26 20:13:06 +02:00
flutter pub get
2021-10-26 18:50:34 +02:00
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
2021-10-26 20:13:06 +02:00
flutter pub get
2020-12-08 15:46:47 +01:00
flutter analyze
2021-10-16 09:59:38 +02:00
flutter pub run dart_code_metrics:metrics lib -r gitlab > code-quality-report.json || true