diff --git a/scripts/entr.sh b/scripts/entr.sh index f506c10..6f654c5 100644 --- a/scripts/entr.sh +++ b/scripts/entr.sh @@ -1,3 +1,3 @@ cd "$(git rev-parse --show-toplevel)" find . -not \( -path build -prune \) \ - | entr -s 'clear && sh scripts/build.sh' + | entr -s 'clear && sh scripts/build.sh && sh scripts/test.sh' diff --git a/scripts/test.sh b/scripts/test.sh new file mode 100644 index 0000000..5723764 --- /dev/null +++ b/scripts/test.sh @@ -0,0 +1,2 @@ +cd "$(git rev-parse --show-toplevel)" +echo ":: Reader tests ::" && build/reader_tests