[libgames-support] Update style-checker to show sample usage



commit 315208f05cb81707a832825ef30dac24c44fd8a5
Author: Sahil Sareen <sahil sareen hotmail com>
Date:   Sat Dec 5 21:16:08 2015 +0530

    Update style-checker to show sample usage

 style-checker |   11 +++++++++++
 1 files changed, 11 insertions(+), 0 deletions(-)
---
diff --git a/style-checker b/style-checker
index 1fd0640..c242827 100755
--- a/style-checker
+++ b/style-checker
@@ -22,6 +22,17 @@
 # OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
 # THE SOFTWARE.
 
+# =======================
+#     Sample usage
+# =======================
+#
+# To use it as a pre-commit hook, Update autogen.sh to symlink to this file
+#
+# if [ -d $srcdir/.git ] && [ ! -L $srcdir/.git/hooks/pre-commit ]; then
+#     ln -s $srcdir/../libgames-support/style-checker $srcdir/.git/hooks/pre-commit
+# fi
+#
+
 import sys
 import re
 import os


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