[gnome-chess] Bring back the style checker



commit 047a59ad02bf2d7d81612b6fe105501439d7789c
Author: Michael Catanzaro <mcatanzaro gnome org>
Date:   Fri May 29 13:40:26 2015 -0500

    Bring back the style checker
    
    Didn't mean to remove this

 autogen.sh |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/autogen.sh b/autogen.sh
index c813e00..09067ad 100755
--- a/autogen.sh
+++ b/autogen.sh
@@ -17,6 +17,10 @@ if [ "$#" = 0 -a "x$NOCONFIGURE" = "x" ]; then
         echo "" >&2
 fi
 
+if [ -d $srcdir/.git ] && [ ! -e $srcdir/.git/hooks/pre-commit ]; then
+       ln -s $srcdir/../libgames-support/style-checker $srcdir/.git/hooks/pre-commit && echo "Enabled 
pre-commit style checker." || :
+fi
+
 set -x
 
 aclocal --install || exit 1


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]