Makefile 624 B

1234567891011121314151617181920212223242526
  1. .PHONY: clean install help test run dependencies
  2. help:
  3. @echo " clean remove unwanted stuff"
  4. @echo " install install flaskbb and setup"
  5. @echo " tests run the testsuite"
  6. @echo " run run the development server"
  7. dependencies:requirements.txt
  8. pip install -r requirements.txt
  9. clean:
  10. find . -name '*.pyc' -exec rm -f {} +
  11. find . -name '*.pyo' -exec rm -f {} +
  12. find . -name '*~' -exec rm -f {} +
  13. find . -name '__pycache__' -exec rm -rf {} +
  14. test:
  15. py.test --cov=flaskbb --cov-report=term-missing tests
  16. run:
  17. python manage.py runserver -dr
  18. install:dependencies
  19. clear
  20. python manage.py install