Makefile 716 B

123456789101112131415161718192021222324252627282930313233343536373839
  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. bump:
  12. contrib/bump -c celery
  13. coverage2:
  14. [ -d testproj/temp ] || mkdir -p testproj/temp
  15. (cd testproj; python manage.py test --figleaf)
  16. coverage:
  17. [ -d testproj/temp ] || mkdir -p testproj/temp
  18. (cd testproj; python manage.py test --coverage)
  19. test:
  20. (cd testproj; python manage.py test)
  21. testverbose:
  22. (cd testproj; python manage.py test --verbosity=2)
  23. releaseok: pep8 autodoc test
  24. removepyc:
  25. find . -name "*.pyc" | xargs rm
  26. release: releaseok ghdocs removepyc