check-code: add Makefile target to run check-code
authorBenoit Boissinot <benoit.boissinot@ens-lyon.org>
Sat, 09 Feb 2013 15:57:04 +0100
changeset 18598 4723ccb62282
parent 18597 542110817450
child 18599 5cd1dbf4c5d2
check-code: add Makefile target to run check-code
Makefile
--- 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)