Skip .git directory in format and entr scripts

This commit is contained in:
2024-10-24 13:42:54 +01:00
parent d1b350f6ec
commit 3bc640b656
2 changed files with 3 additions and 2 deletions

View File

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