diff Makefile @ 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 7c9b07f0da73
children 80983af366b5
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)