Makefile 1022 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758
  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. flakes:
  12. find . -name "*.py" | xargs pyflakes
  13. clean_readme:
  14. rm -f README.rst README
  15. readme: clean_readme
  16. python contrib/sphinx-to-rst.py docs/introduction.rst > README.rst
  17. ln -s README.rst README
  18. bump:
  19. contrib/bump -c celery
  20. cover:
  21. (cd testproj; python manage.py test --coverage)
  22. coverage: cover
  23. quickcover:
  24. (cd testproj; env QUICKTEST=1 SKIP_RLIMITS=1 python manage.py test --coverage)
  25. test:
  26. (cd testproj; python manage.py test)
  27. quicktest:
  28. (cd testproj; SKIP_RLIMITS=1 python manage.py test)
  29. testverbose:
  30. (cd testproj; python manage.py test --verbosity=2)
  31. releaseok: pep8 autodoc test gitclean
  32. removepyc:
  33. find . -name "*.pyc" | xargs rm
  34. release: releaseok ghdocs removepyc
  35. gitclean: removepyc
  36. git clean -xdn
  37. gitcleanforce: removepyc
  38. git clean -xdf