#!/usr/bin/env bash export POSTGRES_USERNAME="angel_orm" export POSTGRES_PASSWORD="angel_orm" function angel_orm_test () { cd $1; pub get; pub run test; cd .. } cd angel_orm_generator; pub get; pub run build_runner build; cd ..; angel_orm_test angel_orm_postgres