Browse Source

Only check styles syntax using new "styleshint" target.

pull/35/head
Joachim Bauch 11 years ago
parent
commit
ccf09b3e6c
  1. 2
      src/hooks/pre-commit.hook

2
src/hooks/pre-commit.hook

@ -34,7 +34,7 @@ for file in `git diff-index --cached --name-only HEAD --diff-filter=ACMR| grep " @@ -34,7 +34,7 @@ for file in `git diff-index --cached --name-only HEAD --diff-filter=ACMR| grep "
done
if [ "${check_styles}" = "1" ]; then
make styles
make styleshint
r=$?
if [ $r != 0 ] ; then
echo "================================================================================================="

Loading…
Cancel
Save