Makefile 780B

123456789101112131415161718192021222324252627282930313233343536373839
  1. # Makefile for testing
  2. TESTPYPI = https://testpypi.python.org/pypi
  3. PYPI = https://pypi.python.org/pypi
  4. LONG_PATCH_CMD = for i in {1..100}; do cat tests/svn/in.diff; done
  5. PROFILE_ARGS = -m cProfile -s time cdiff.py -c always -s -w 60
  6. .PHONY: dogfood test test3 profile profile3 clean build dist-test dist
  7. dogfood:
  8. ./cdiff.py
  9. git diff | ./cdiff.py -s
  10. test:
  11. tests/regression.sh
  12. test3:
  13. PYTHON=python3 tests/regression.sh
  14. profile:
  15. tests/profile.sh profile.tmp
  16. profile3:
  17. tests/profile.sh profile3.tmp
  18. clean:
  19. rm -f MANIFEST profile*.tmp*
  20. rm -rf build/ cdiff.egg-info/ dist/ __pycache__/
  21. build:
  22. ./setup.py build sdist
  23. dist-test:
  24. ./setup.py build sdist register upload -r $(TESTPYPI)
  25. dist:
  26. ./setup.py build sdist register upload -r $(PYPI)
  27. # vim:set noet ts=8 sw=8: