mirror of
https://github.com/ankitects/anki.git
synced 2026-01-13 22:13:58 -05:00
clean stale build folders before build
setuptools will bundle up files from that folder even if they're no longer in the source tree.
This commit is contained in:
parent
ac9470dd5f
commit
2f2d376746
2 changed files with 2 additions and 2 deletions
|
|
@ -79,7 +79,7 @@ CHECKDEPS := $(shell find anki tests -name '*.py' | grep -v buildinfo.py)
|
|||
|
||||
.PHONY: build
|
||||
build: $(BUILD_STEPS) $(CHECKDEPS)
|
||||
rm -rf dist
|
||||
rm -rf dist build
|
||||
python setup.py -q bdist_wheel
|
||||
rsync -a dist/*.whl ../dist/
|
||||
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@ CHECKDEPS := $(shell find aqt tests -name '*.py' | grep -v buildinfo.py)
|
|||
|
||||
.PHONY: build
|
||||
build: $(BUILD_STEPS)
|
||||
rm -rf dist
|
||||
rm -rf dist build
|
||||
python setup.py -q bdist_wheel
|
||||
rsync -a dist/*.whl ../dist/
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue