Create test script and run from entr.sh

This commit is contained in:
Camden Dixie O'Brien 2024-10-24 13:36:22 +01:00
parent f251fd04cc
commit d1b350f6ec
2 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,3 @@
cd "$(git rev-parse --show-toplevel)" cd "$(git rev-parse --show-toplevel)"
find . -not \( -path build -prune \) \ find . -not \( -path build -prune \) \
| entr -s 'clear && sh scripts/build.sh' | entr -s 'clear && sh scripts/build.sh && sh scripts/test.sh'

2
scripts/test.sh Normal file
View File

@ -0,0 +1,2 @@
cd "$(git rev-parse --show-toplevel)"
echo ":: Reader tests ::" && build/reader_tests