rm src/db_conn_postgres.rs
rm src/db_conn_sqlite_new.rs
make src/db_conn_postgres.rs
make src/db_conn_sqlite_new.rs
cargo +nightly fmt -- --check
status=$?
if test $status -ne 0
then
echo "\033[1;31m"
echo " =============================================="
echo " | Error: Code not properly formatted. |"
echo " | Commit not successfull. |"
echo " | |"
echo " | Call 'cargo +nightly fmt' to apply |"
echo " | the changes shown above. |"
echo " =============================================="
echo "\033[0m"
fi
exit $status