Makefile 983 B

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152
  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. coverage2:
  21. [ -d testproj/temp ] || mkdir -p testproj/temp
  22. (cd testproj; python manage.py test --figleaf)
  23. coverage:
  24. [ -d testproj/temp ] || mkdir -p testproj/temp
  25. (cd testproj; python manage.py test --coverage)
  26. test:
  27. (cd testproj; python manage.py test)
  28. quicktest:
  29. (cd testproj; SKIP_RLIMITS=1 python manage.py test)
  30. testverbose:
  31. (cd testproj; python manage.py test --verbosity=2)
  32. releaseok: pep8 autodoc test
  33. removepyc:
  34. find . -name "*.pyc" | xargs rm
  35. release: releaseok ghdocs removepyc