Makefile 421B

123456789101112131415161718192021222324252627
  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
  6. git diff | ./cdiff.py -s
  7. test:
  8. tests/regression.sh
  9. clean:
  10. rm -f MANIFEST
  11. rm -rf build/ cdiff.egg-info/ dist/ __pycache__/
  12. build:
  13. ./setup.py build sdist
  14. dist-test:
  15. ./setup.py build sdist upload -r $(TESTPYPI)
  16. dist:
  17. ./setup.py build sdist upload
  18. # vim:set noet ts=8 sw=8: