diff options
Diffstat (limited to 'bin/git/hooks')
-rw-r--r-- | bin/git/hooks/README.md | 11 | ||||
-rw-r--r-- | bin/git/hooks/pre-commit | 2 |
2 files changed, 13 insertions, 0 deletions
diff --git a/bin/git/hooks/README.md b/bin/git/hooks/README.md new file mode 100644 index 000000000..cded1d39a --- /dev/null +++ b/bin/git/hooks/README.md @@ -0,0 +1,11 @@ +# Hooks + +The following hooks are provided: + +* Update checksums before you commit + +# Installation +Link the files in here into your **.git/hooks** directory: + + ln -s -r bin/git/hooks/pre-commit .git/hooks/ + diff --git a/bin/git/hooks/pre-commit b/bin/git/hooks/pre-commit new file mode 100644 index 000000000..42b6ba29e --- /dev/null +++ b/bin/git/hooks/pre-commit @@ -0,0 +1,2 @@ +cd ../../../js +grunt cachebuster
\ No newline at end of file |