4 lines
178 B
Bash

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