Skip to content

Commit

Permalink
add git hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
aehlke committed Nov 23, 2012
1 parent 885a6bf commit ffbabde
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .githooks/post-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
#!/bin/sh

if [ -a .commit ]; then
rm .commit
git add js/tagit.min.js
git commit --ammend -C HEAD --no-verify
fi

./update_gh_pages.sh

6 changes: 6 additions & 0 deletions .githooks/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/bin/sh

./minify.sh

touch .commit

0 comments on commit ffbabde

Please sign in to comment.