drift/tool/test_all.sh

28 lines
568 B
Bash
Raw Normal View History

2021-10-25 03:07:10 -07:00
#!/bin/bash
set -e
cd ../drift
rm -rf .dart_tool
2021-10-25 03:07:10 -07:00
dart pub get
dart format -o none --set-exit-if-changed .
dart analyze --fatal-infos --fatal-warnings
dart run build_runner build --delete-conflicting-outputs
dart test
2022-05-12 12:30:37 -07:00
dart test -p chrome
2021-10-25 03:07:10 -07:00
cd ../drift_dev
rm -rf .dart_tool
dart pub get
dart format -o none --set-exit-if-changed .
dart analyze --fatal-infos --fatal-warnings
dart test
cd ../sqlparser
rm -rf .dart_tool
2021-10-25 03:07:10 -07:00
dart pub get
dart format -o none --set-exit-if-changed .
dart analyze --fatal-infos --fatal-warnings
dart test
cd ..
./tool/misc_integration_test.sh