1234567891011121314151617181920212223242526272829 |
- # Makefile for testing
-
- TESTPYPI = http://testpypi.python.org/pypi
-
- .PHONY: dogfood test clean dist-test dist
-
- dogfood:
- ./cdiff.py -s
- git diff | ./cdiff.py
- git diff | ./cdiff.py -s
-
- test:
- PYTHON=python ./tests/tests.sh
- PYTHON=python3 ./tests/tests.sh
-
- clean:
- rm -f cdiff MANIFEST
- rm -rf build/ cdiff.egg-info/ dist/ __pycache__/
-
- build:
- ./setup.py build sdist
-
- dist-test:
- ./setup.py build sdist upload -r $(TESTPYPI)
-
- dist:
- ./setup.py build sdist upload
-
- # vim:set noet ts=8 sw=8:
|