From b0d0a5627d0ce2a89d0da28144b46892665dc318 Mon Sep 17 00:00:00 2001 From: Peter Chamberlin Date: Tue, 4 Oct 2016 12:03:07 +0100 Subject: [PATCH] Use make to generate version file --- scripts/bootstrap.sh | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/scripts/bootstrap.sh b/scripts/bootstrap.sh index a406cdc2e..15c1d8ef0 100755 --- a/scripts/bootstrap.sh +++ b/scripts/bootstrap.sh @@ -25,10 +25,8 @@ if [ ! $VIRTUAL_ENV ]; then . ./venv/bin/activate fi -# if there isn't a version file we should copy the .dist one -if [ ! -f ./app/version.py ]; then - cp ./app/version.py.dist ./app/version.py -fi +# we need the version file to exist otherwise the app will blow up +make generate-version-file # Install Python development dependencies pip3 install -r requirements_for_test.txt