Clean before doing a build so that we don't include stale build artifacts

in the binaries.

Signed-off-by: Daniel Nephin <dnephin@docker.com>
This commit is contained in:
Daniel Nephin 2015-09-14 18:42:53 -04:00
commit 9be748f85c
3 changed files with 7 additions and 0 deletions

View file

@ -3,7 +3,9 @@ set -ex
PATH="/usr/local/bin:$PATH"
./script/clean
rm -rf venv
virtualenv -p /usr/local/bin/python venv
venv/bin/pip install -r requirements.txt
venv/bin/pip install -r requirements-build.txt