forked from celery/celery
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Makefile
69 lines (45 loc) · 1.24 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
61
62
63
64
65
66
67
68
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:
rm -rf docs/.build
contrib/doc2ghpages
upload_github_docs: ghdocs
upload_pypi_docs:
python setup.py build_sphinx && python setup.py upload_sphinx
upload_docs: upload_github_docs upload_pypi_docs
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/templates/readme.txt > 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