summaryrefslogtreecommitdiffstats
path: root/bin
diff options
context:
space:
mode:
authorBernhard Posselt <dev@bernhard-posselt.com>2015-03-07 12:00:33 +0100
committerBernhard Posselt <dev@bernhard-posselt.com>2015-03-07 12:00:33 +0100
commit990f12e3777bb09d1854ce3b7b1712b6c2a67a1f (patch)
tree12b2f186c82d2a8b550256c05f7ee047b3e58538 /bin
parent4b08bd75c4b256da47c9b9d430b53c2a1d1f6418 (diff)
add checksum
Diffstat (limited to 'bin')
-rw-r--r--bin/git/hooks/README.md11
-rw-r--r--bin/git/hooks/pre-commit2
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