2017-07-10 21:49:00 +00:00
|
|
|
#!/usr/bin/env bash
|
2019-04-08 16:58:41 +00:00
|
|
|
export POSTGRES_USERNAME="angel_orm"
|
|
|
|
export POSTGRES_PASSWORD="angel_orm"
|
2019-04-20 21:35:19 +00:00
|
|
|
set -ex
|
2019-04-08 16:58:41 +00:00
|
|
|
|
|
|
|
function angel_orm_test () {
|
|
|
|
cd $1;
|
|
|
|
pub get;
|
|
|
|
pub run test;
|
|
|
|
cd ..
|
|
|
|
}
|
|
|
|
|
|
|
|
cd angel_orm_generator;
|
|
|
|
pub get;
|
2019-04-26 00:03:04 +00:00
|
|
|
echo 1 | pub run build_runner build --delete-conflicting-outputs;
|
2019-04-08 16:58:41 +00:00
|
|
|
cd ..;
|
2019-04-20 21:31:31 +00:00
|
|
|
angel_orm_test angel_orm_postgres
|
2019-04-25 23:58:47 +00:00
|
|
|
angel_orm_test angel_orm_service
|