jenkins: run git pre-commit hook for pep8, pyflakes, etc

This provides a central script for running certain checks at commit time,
and in jenkins automated builds.
This commit is contained in:
Hans-Christoph Steiner 2014-06-02 13:24:24 -04:00
parent 9b313e76bb
commit 6085556a7b

View file

@ -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
#------------------------------------------------------------------------------#