Skip to content

Commit a099b3f

Browse files
committed
update Makefile
Signed-off-by: Stephen L. <lrq3000@gmail.com>
1 parent 654e698 commit a099b3f

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

Makefile

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ build_cython:
4545
python setup.py build_ext --inplace
4646

4747
build:
48+
python -c "import shutil; shutil.rmtree('build', True)"
49+
python -c "import shutil; shutil.rmtree('dist', True)"
50+
python -c "import shutil; shutil.rmtree('pyFileFixity.egg-info', True)"
4851
python setup.py sdist --formats=gztar,zip bdist_wininst
4952
python setup.py sdist bdist_wheel
5053

@@ -54,5 +57,11 @@ pypimeta:
5457
pypi:
5558
twine upload dist/*
5659

60+
buildupload:
61+
@make testsetup
62+
@make build
63+
@make pypimeta
64+
@make pypi
65+
5766
none:
5867
# used for unit testing

0 commit comments

Comments
 (0)