Merge pull request #836 from alphagov/fix-remove-old-wheelhouse-contents

Delete old wheels on build
This commit is contained in:
imdadahad
2017-02-20 16:01:56 +00:00
committed by GitHub

View File

@@ -78,6 +78,7 @@ generate-version-file: ## Generates the app version file
.PHONY: build
build: dependencies generate-version-file ## Build project
rm -rf wheelhouse
. venv/bin/activate && PIP_ACCEL_CACHE=${PIP_ACCEL_CACHE} pip-accel wheel --wheel-dir=wheelhouse -r requirements.txt
.PHONY: cf-build