Skip to content

Commit

Permalink
fix: try telling circle to skip .git/hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
Marcy Sutton authored and marcysutton committed Dec 12, 2017
1 parent b3bf3d4 commit 3b88acd
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions bin/postinstall.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
#!/bin/sh

if [ -d ".git/hooks" ]; then
if [ ! -f ".git/hooks/commit-msg" ]; then
echo "Installing pre-commit hook"
cd .git/hooks/ && cp ../../node_modules/angular-precommit/index.js commit-msg && cd ../../
fi
fi

0 comments on commit 3b88acd

Please sign in to comment.