IssueID #1104: created script and pre-commit hook for automatic example validation

This commit is contained in:
Cyprian Laskowski
2020-01-22 22:41:20 +01:00
parent 55355aba36
commit 8ff0c1c74b
2 changed files with 29 additions and 0 deletions

6
scripts/install_git_hooks Executable file
View File

@@ -0,0 +1,6 @@
#!/bin/bash
top_dir=`git rev-parse --show-toplevel`
cd $top_dir/.git/hooks
ln -s ../../scripts/validate_examples pre-commit