forked from celery/celery
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
48 lines (32 loc) · 886 Bytes
/
Makefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
PEP8=pep8
pep8:
(find . -name "*.py" | xargs pep8 | perl -nle'\
print; $$a=1 if $$_}{exit($$a)')
cycomplex:
find celery -type f -name "*.py" | xargs pygenie.py complexity
ghdocs:
contrib/doc2ghpages
autodoc:
contrib/doc4allmods celery
flakes:
find . -name "*.py" | xargs pyflakes
clean_readme:
rm -f README.rst
readme: clean_readme
python contrib/sphinx-to-rst.py docs/introduction.rst > README.rst
bump:
contrib/bump -c celery
coverage2:
[ -d testproj/temp ] || mkdir -p testproj/temp
(cd testproj; python manage.py test --figleaf)
coverage:
[ -d testproj/temp ] || mkdir -p testproj/temp
(cd testproj; python manage.py test --coverage)
test:
(cd testproj; python manage.py test)
testverbose:
(cd testproj; python manage.py test --verbosity=2)
releaseok: pep8 autodoc test
removepyc:
find . -name "*.pyc" | xargs rm
release: releaseok ghdocs removepyc