Skip to content

Commit 835a79a

Browse files
committed
githook: pre-commit: run tests
1 parent c829f9b commit 835a79a

1 file changed

Lines changed: 4 additions & 1 deletion

File tree

.githooks/pre-commit

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,4 +46,7 @@ EOF
4646
fi
4747

4848
# If there are whitespace errors, print the offending file names and fail.
49-
exec git diff-index --check --cached $against --
49+
exec git diff-index --check --cached $against --
50+
51+
# Configure and run the tests/examples
52+
exec cmake -B build

0 commit comments

Comments
 (0)