mirror of https://github.com/AMT-Cheif/drift.git
27 lines
646 B
Bash
Executable File
27 lines
646 B
Bash
Executable File
#!/usr/bin/env bash
|
|
|
|
EXIT_CODE=0
|
|
|
|
cd moor
|
|
echo $(pwd)
|
|
dartfmt -n --set-exit-if-changed . || EXIT_CODE=$?
|
|
dartanalyzer --fatal-infos --fatal-warnings lib/ test/ || EXIT_CODE=$?
|
|
cd ..
|
|
|
|
cd moor_flutter
|
|
echo $(pwd)
|
|
dartfmt -n --set-exit-if-changed . || EXIT_CODE=$?
|
|
dartanalyzer --fatal-infos --fatal-warnings lib/ test/ || EXIT_CODE=$?
|
|
cd ..
|
|
|
|
cd moor_generator
|
|
echo $(pwd)
|
|
dartfmt -n --set-exit-if-changed . || EXIT_CODE=$?
|
|
dartanalyzer --fatal-infos --fatal-warnings lib/ test/ || EXIT_CODE=$?
|
|
cd ..
|
|
|
|
cd sqlparser
|
|
echo $(pwd)
|
|
dartfmt -n --set-exit-if-changed . || EXIT_CODE=$?
|
|
dartanalyzer --fatal-infos --fatal-warnings lib/ test/ || EXIT_CODE=$?
|