Makefile 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. PEP8=pep8
  2. pep8:
  3. (find . -name "*.py" | xargs pep8 | perl -nle'\
  4. print; $$a=1 if $$_}{exit($$a)')
  5. cycomplex:
  6. find celery -type f -name "*.py" | xargs pygenie.py complexity
  7. ghdocs:
  8. contrib/doc2ghpages
  9. autodoc:
  10. contrib/doc4allmods celery
  11. verifyindex:
  12. contrib/verify-reference-index.sh
  13. flakes:
  14. find . -name "*.py" | xargs pyflakes
  15. clean_readme:
  16. rm -f README.rst README
  17. readme: clean_readme
  18. python contrib/sphinx-to-rst.py docs/templates/readme.txt > README.rst
  19. ln -s README.rst README
  20. bump:
  21. contrib/bump -c celery
  22. cover:
  23. (cd testproj; python manage.py test --coverage)
  24. coverage: cover
  25. quickcover:
  26. (cd testproj; env QUICKTEST=1 SKIP_RLIMITS=1 python manage.py test --coverage)
  27. test:
  28. (cd testproj; python manage.py test)
  29. quicktest:
  30. (cd testproj; SKIP_RLIMITS=1 python manage.py test)
  31. testverbose:
  32. (cd testproj; python manage.py test --verbosity=2)
  33. releaseok: pep8 autodoc verifyindex test gitclean
  34. removepyc:
  35. find . -name "*.pyc" | xargs rm
  36. release: releaseok ghdocs removepyc
  37. gitclean: removepyc
  38. git clean -xdn
  39. gitcleanforce: removepyc
  40. git clean -xdf