mirror of
https://github.com/emilybache/GildedRose-Refactoring-Kata.git
synced 2025-12-11 20:02:09 +00:00
15 lines
357 B
Bash
15 lines
357 B
Bash
#!/usr/bin/env bash
|
|
|
|
set -ex
|
|
|
|
echo "Enable DBLINK"
|
|
psql -d kata -c 'CREATE EXTENSION DBLINK;'
|
|
|
|
echo "Initialize test framework"
|
|
wget https://raw.githubusercontent.com/adrianandrei-ca/pgunit/bc69dfc526ec3db55ff72af5d78eab55661502af/PGUnit.sql \
|
|
&& psql -d kata -f PGUnit.sql \
|
|
&& rm PGUnit.sql
|
|
|
|
echo "Initialize custom asserts"
|
|
psql -d kata -f asserts.sql
|