Makefile 471B

123456789101112131415161718192021222324252627282930
  1. # Makefile for testing
  2. TESTPYPI = http://testpypi.python.org/pypi
  3. .PHONY: dogfood test test3 clean build dist-test dist
  4. dogfood:
  5. ./cdiff.py
  6. git diff | ./cdiff.py -s
  7. test:
  8. tests/regression.sh
  9. test3:
  10. PYTHON=python3 tests/regression.sh
  11. clean:
  12. rm -f MANIFEST
  13. rm -rf build/ cdiff.egg-info/ dist/ __pycache__/
  14. build:
  15. ./setup.py build sdist
  16. dist-test:
  17. ./setup.py build sdist upload -r $(TESTPYPI)
  18. dist:
  19. ./setup.py build sdist upload
  20. # vim:set noet ts=8 sw=8: