mirror of https://github.com/AMT-Cheif/drift.git
Use new Dart tool for formatting and analysis
This commit is contained in:
parent
8b3e6a55d1
commit
fc034701d0
|
@ -4,8 +4,8 @@ EXIT_CODE=0
|
|||
|
||||
cd moor
|
||||
echo $(pwd)
|
||||
dartfmt -n --set-exit-if-changed . || EXIT_CODE=$?
|
||||
dartanalyzer --options analysis_options.yaml --fatal-infos --fatal-warnings lib/ test/ || EXIT_CODE=$?
|
||||
dart format -o none --set-exit-if-changed . || EXIT_CODE=$?
|
||||
dart analyze --fatal-infos --fatal-warnings || EXIT_CODE=$?
|
||||
cd ..
|
||||
|
||||
# todo we don't analyze this subproject because Flutter isn't installed in the CI
|
||||
|
@ -23,13 +23,13 @@ cd ..
|
|||
|
||||
cd moor_generator
|
||||
echo $(pwd)
|
||||
dartfmt -n --set-exit-if-changed . || EXIT_CODE=$?
|
||||
dartanalyzer --options analysis_options.yaml --fatal-infos --fatal-warnings lib/ test/ || EXIT_CODE=$?
|
||||
dart format -o none --set-exit-if-changed . || EXIT_CODE=$?
|
||||
dart analyze --fatal-infos --fatal-warnings || EXIT_CODE=$?
|
||||
cd ..
|
||||
|
||||
cd sqlparser
|
||||
echo $(pwd)
|
||||
dartfmt -n --set-exit-if-changed . || EXIT_CODE=$?
|
||||
dartanalyzer --options analysis_options.yaml --fatal-infos --fatal-warnings lib/ test/ || EXIT_CODE=$?
|
||||
dart format -o none --set-exit-if-changed . || EXIT_CODE=$?
|
||||
dart analyze --fatal-infos --fatal-warnings || EXIT_CODE=$?
|
||||
|
||||
exit $EXIT_CODE
|
Loading…
Reference in New Issue