From 4289a1f28c6ba4fdeb89e560c721babcd857d3d6 Mon Sep 17 00:00:00 2001 From: Christopher Denter Date: Thu, 13 Jan 2011 15:25:07 +0100 Subject: [PATCH] add make hook target --- Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/Makefile b/Makefile index 4c7932e39..0e3c4e087 100644 --- a/Makefile +++ b/Makefile @@ -7,3 +7,7 @@ style: stylereport: $(PYTHON) $(CHECKSCRIPT) -html $(KIVY_DIR) + +hook: + cp kivy/tools/pep8checker/pre-commit.githook .git/hooks/pre-commit + chmod +x .git/hooks/pre-commit