changeset 18598:4723ccb62282

check-code: add Makefile target to run check-code
author Benoit Boissinot <benoit.boissinot@ens-lyon.org>
date Sat, 09 Feb 2013 15:57:04 +0100
parents 542110817450
children 5cd1dbf4c5d2
files Makefile
diffstat 1 files changed, 3 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/Makefile	Sat Feb 09 07:44:22 2013 -0600
+++ b/Makefile	Sat Feb 09 15:57:04 2013 +0100
@@ -94,6 +94,9 @@
 test-%:
 	cd tests && $(PYTHON) run-tests.py $(TESTFLAGS) $@
 
+check-code:
+	hg manifest | xargs python contrib/check-code.py
+
 update-pot: i18n/hg.pot
 
 i18n/hg.pot: $(PYFILES) $(DOCFILES)