summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2012-07-20 13:22:02 +0200
committerAndoni Morales Alastruey <ylatuya@gmail.com>2012-08-08 13:02:28 +0200
commit5a795fcbeb8a08cce1e9ec5b1c3c1604991a1b0a (patch)
treee9f0bace9001ecfce0e32f4249b96764ff24a1a7 /Makefile
parentce3f6f628a970db324f132117b48228307ec9074 (diff)
Makefile: add check-pep8 rule
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 92da11b7..664ee292 100644
--- a/Makefile
+++ b/Makefile
@@ -13,9 +13,12 @@ install:
dist-tarball:
python setup.py sdist --formats=bztar
+check-pep8:
+ find cerbero ! -regex cerbero/packages/debian.py -name \*.py | sort -u | xargs pep8 --repeat
+
check:
PYTHONPATH=$(PYTHONPATH):./test:./cerbero; trial test
- find cerbero ! -regex cerbero/packages/debian.py -name \*.py | sort -u | xargs pep8 --repeat
+ make check pep8
coverage:
rm -rf _trial_temp