Makefile 267 B

12345678910111213141516171819
  1. TEST := test.py
  2. COVERAGE_DIR := coverage
  3. test:
  4. @pyrg $(TEST)
  5. coverage: covclean
  6. coverage run test.py
  7. coverage report
  8. coverage html
  9. covclean:
  10. coverage erase
  11. rm -rf $(COVERAGE_DIR)
  12. clean: covclean
  13. rm `find -name \*.pyc`
  14. .PHONY: test clean coverage covclean