Skip to content

Commit b05d47a

Browse files
committed
Test in pre-commit
1 parent af50ba3 commit b05d47a

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

hooks/pre-commit

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,7 @@
11
#!/bin/bash
22

3-
$(git rev-parse --show-toplevel)/format.sh
3+
BASE_DIR=$(git rev-parse --show-toplevel)
4+
5+
${BASE_DIR}/format.sh
6+
${BASE_DIR}/test.sh
47
git update-index --again

0 commit comments

Comments
 (0)