fluffychat/scripts/code_analyze.sh

8 lines
324 B
Bash
Raw Normal View History

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