chiark / gitweb /
jenkins: run git pre-commit hook for pep8, pyflakes, etc
authorHans-Christoph Steiner <hans@eds.org>
Mon, 2 Jun 2014 17:24:24 +0000 (13:24 -0400)
committerHans-Christoph Steiner <hans@eds.org>
Thu, 5 Jun 2014 02:01:25 +0000 (22:01 -0400)
This provides a central script for running certain checks at commit time,
and in jenkins automated builds.

jenkins-build

index cbdf115ffac8b36d80a262bbeec6de6e63f2b4b2..35add775cf37ae57b34a3d8b16f81ee268b043f5 100755 (executable)
@@ -71,8 +71,8 @@ fdroid=$WORKSPACE/env/bin/fdroid $WORKSPACE/tests/run-tests ~jenkins/
 
 
 #------------------------------------------------------------------------------#
-# run pyflakes
-pyflakes fdroid makebuildserver fdroidserver/*.py setup.py
+# run git pre-commit hook for pep8, pyflakes, etc
+sh hooks/pre-commit
 
 
 #------------------------------------------------------------------------------#