[libgames-support] Update style-checker to show sample usage
- From: Sahil Sareen <ssareen src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [libgames-support] Update style-checker to show sample usage
- Date: Sat, 5 Dec 2015 15:49:20 +0000 (UTC)
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]