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