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 "
done done
if [ "${check_styles}" = "1" ]; then if [ "${check_styles}" = "1" ]; then
make styles make styleshint
r=$? r=$?
if [ $r != 0 ] ; then if [ $r != 0 ] ; then
echo "=================================================================================================" echo "================================================================================================="

Loading…
Cancel
Save