Skip to content

Commit

Permalink
Fix commit-hook install script
Browse files Browse the repository at this point in the history
  • Loading branch information
debois committed Dec 28, 2016
1 parent ae78bb7 commit b2ffa46
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 9 deletions.
7 changes: 6 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,9 @@ distclean : clean
rm -rf elm-stuff demo/elm-stuff


.PHONY : pages elm.js clean cleanish distclean demo docs test copy-assets
install-hooks:
cp build_scripts/hooks/commit-msg .git/hooks
chmod a+x .git/hooks/commit-msg


.PHONY : pages elm.js clean cleanish distclean demo docs test copy-assets install-hooks
5 changes: 5 additions & 0 deletions build_scripts/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Run the Makefile target 'install-hooks' from the elm-mdl root to install git
hooks, like so:

> make install-hooks

8 changes: 0 additions & 8 deletions build_scripts/install_hooks.sh

This file was deleted.

0 comments on commit b2ffa46

Please sign in to comment.