fluffychat/scripts/code_analyze.sh
2021-10-16 09:59:38 +02:00

5 lines
225 B
Bash
Executable File

#!/bin/sh -ve
git apply ./scripts/enable-android-google-services.patch
flutter format lib/ test/ --set-exit-if-changed
flutter analyze
flutter pub run dart_code_metrics:metrics lib -r gitlab > code-quality-report.json || true