1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-16 11:28:14 +00:00

build: properly clean generated files from setup.py prebuild

This commit is contained in:
matejcik 2019-02-27 13:20:44 +01:00
parent 12c0e78e3d
commit b441ea7c3b

View File

@ -17,7 +17,11 @@ dist: clean
$(SETUP) sdist $(SETUP) sdist
$(SETUP) bdist_wheel $(SETUP) bdist_wheel
clean: clean-build clean-pyc clean-test ## remove all build, test, coverage and Python artifacts clean: clean-generated clean-build clean-pyc clean-test ## remove all build, test, coverage and Python artifacts
clean-generated: ## remove generated files
rm -f trezorlib/messages/*.py
rm -f trezorlib/coins.json
clean-build: ## remove build artifacts clean-build: ## remove build artifacts
rm -fr build/ rm -fr build/
@ -51,4 +55,4 @@ style_check:
isort --diff --check-only --recursive $(STYLE_TARGETS) --skip-glob "*/$(EXCLUDE_TARGETS)/*" isort --diff --check-only --recursive $(STYLE_TARGETS) --skip-glob "*/$(EXCLUDE_TARGETS)/*"
flake8 flake8
.PHONY: all build install clean style style_check git-clean clean-build clean-pyc clean-test .PHONY: all build install clean style style_check git-clean clean-generated clean-build clean-pyc clean-test