Skip to content

Commit

Permalink
Ensure clean builds
Browse files Browse the repository at this point in the history
Not deleting the `build` dir before a new build could result in a dirty
build. See pypa/wheel#297.
  • Loading branch information
waylan committed May 21, 2019
1 parent f5b6579 commit 73ede6c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions makefile
Original file line number Diff line number Diff line change
Expand Up @@ -19,12 +19,15 @@ install:

.PHONY : deploy
deploy:
rm -rf build
rm -rf dist
python setup.py bdist_wheel sdist --formats gztar
twine upload dist/*

.PHONY : build
build:
rm -rf build
rm -rf dist
python setup.py bdist_wheel sdist --formats gztar

.PHONY : build-win
Expand Down

0 comments on commit 73ede6c

Please sign in to comment.