forked from celery/celery
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathMakefile
61 lines (40 loc) · 1.06 KB
/
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
48
49
50
51
52
53
54
55
56
57
58
59
60
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
verifyindex:
contrib/verify-reference-index.sh
flakes:
find . -name "*.py" | xargs pyflakes
clean_readme:
rm -f README.rst README
readme: clean_readme
python contrib/sphinx-to-rst.py docs/introduction.rst > README.rst
ln -s README.rst README
bump:
contrib/bump -c celery
cover:
(cd testproj; python manage.py test --coverage)
coverage: cover
quickcover:
(cd testproj; env QUICKTEST=1 SKIP_RLIMITS=1 python manage.py test --coverage)
test:
(cd testproj; python manage.py test)
quicktest:
(cd testproj; SKIP_RLIMITS=1 python manage.py test)
testverbose:
(cd testproj; python manage.py test --verbosity=2)
releaseok: pep8 autodoc verifyindex test gitclean
removepyc:
find . -name "*.pyc" | xargs rm
release: releaseok ghdocs removepyc
gitclean: removepyc
git clean -xdn
gitcleanforce: removepyc
git clean -xdf