ci: Don't analyze moor_flutter, but analyze moor_ffi

This commit is contained in:
Simon Binder 2020-01-04 17:13:23 +01:00
parent 282af57c78
commit 144147795f
No known key found for this signature in database
GPG Key ID: 7891917E4147B8C0
2 changed files with 10 additions and 2 deletions

View File

@ -0,0 +1 @@
../analysis_options.yaml

View File

@ -8,10 +8,17 @@ dartfmt -n --set-exit-if-changed . || EXIT_CODE=$?
dartanalyzer --options analysis_options.yaml --fatal-infos --fatal-warnings lib/ test/ || EXIT_CODE=$?
cd ..
cd moor_flutter
# todo we don't analyze this subproject because Flutter isn't installed in the CI
#cd moor_flutter
#echo $(pwd)
#dartfmt -n --set-exit-if-changed . || EXIT_CODE=$?
#dartanalyzer --options analysis_options.yaml --fatal-infos --fatal-warnings lib/ || EXIT_CODE=$?
#cd ..
cd moor_ffi
echo $(pwd)
dartfmt -n --set-exit-if-changed . || EXIT_CODE=$?
dartanalyzer --options analysis_options.yaml --fatal-infos --fatal-warnings lib/ || EXIT_CODE=$?
dartanalyzer --options analysis_options.yaml --fatal-infos --fatal-warnings lib/ test/ || EXIT_CODE=$?
cd ..
cd moor_generator