xml_schemas/scripts/install_git_hooks

7 lines
132 B
Bash
Executable File

#!/bin/bash
top_dir=`git rev-parse --show-toplevel`
cd $top_dir/.git/hooks
ln -s ../../scripts/validate_examples_hook pre-commit