Makefile: cleans old dist-dir before building

My somewhat ham-fisted usage of twine requires that there is just one
file in the dist-directory.
This commit is contained in:
Simon Albinsson
2018-04-23 08:32:27 +00:00
parent 967aac5289
commit 0a35ec2f76

View File

@@ -3,5 +3,7 @@ test:
python2 -m unittest discover
uppload:
mkdir -p dist.old
mv dist/* dist.old/
python setup.py sdist
twine upload dist/*