diff --git a/Makefile b/Makefile index 09f95cb..62cf599 100644 --- a/Makefile +++ b/Makefile @@ -7,3 +7,12 @@ test: flake8 avatar --ignore=E124,E501,E127,E128 coverage run --branch --source=avatar `which django-admin.py` test tests coverage report + +publish: clean + python setup.py sdist + twine upload dist/* + +clean: + rm -vrf ./build ./dist ./*.egg-info + find . -name '*.pyc' -delete + find . -name '*.tgz' -delete