Makefile 1011 B

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556
  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. coverage:
  21. (cd testproj; python manage.py test --coverage)
  22. quickcoverage:
  23. (cd testproj; env QUICKTEST=1 SKIP_RLIMITS=1 python manage.py test --coverage)
  24. test:
  25. (cd testproj; python manage.py test)
  26. quicktest:
  27. (cd testproj; SKIP_RLIMITS=1 python manage.py test)
  28. testverbose:
  29. (cd testproj; python manage.py test --verbosity=2)
  30. releaseok: pep8 autodoc test gitclean
  31. removepyc:
  32. find . -name "*.pyc" | xargs rm
  33. release: releaseok ghdocs removepyc
  34. gitclean: removepyc
  35. git clean -xdn
  36. gitcleanforce: removepyc
  37. git clean -xdf