mirror of
https://github.com/GSA/notifications-api.git
synced 2026-02-03 18:01:08 -05:00
Use make to generate version file
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user