12345678910111213141516171819202122232425262728
  1. # Makefile for testing
  2. TESTS = git svn crlf strange
  3. .PHONY: dogfood test $(TESTS) clean sdist
  4. dogfood:
  5. src/cdiff.py -s
  6. git diff | src/cdiff.py
  7. git diff | src/cdiff.py -s
  8. test: $(TESTS)
  9. $(TESTS):
  10. src/cdiff.py tests/$@.diff
  11. src/cdiff.py tests/$@.diff -s
  12. src/cdiff.py tests/$@.diff | diff -u tests/$@.diff -
  13. python3 src/cdiff.py tests/$@.diff
  14. python3 src/cdiff.py tests/$@.diff -s
  15. python3 src/cdiff.py tests/$@.diff | diff -u tests/$@.diff -
  16. clean:
  17. rm -rf build/ cdiff.egg-info/ dist/
  18. sdist:
  19. ./setup.py sdist
  20. # vim:set noet ts=8 sw=8: