Add git hooks

This commit is contained in:
Charles-Axel Dein 2017-09-20 15:33:52 +02:00
parent 956781bfde
commit 686439ce85
2 changed files with 6 additions and 0 deletions

3
.git_hooks/install_hooks.sh Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
ln -s ./../../.git_hooks/pre-commit .git/hooks/pre-commit

3
.git_hooks/pre-commit Executable file
View File

@ -0,0 +1,3 @@
#!/bin/sh
doctoc --title "# Table of Contents" .