From da0fcafe9ab329f2d12b24889dd8cb703ec7b952 Mon Sep 17 00:00:00 2001 From: Tykayn Date: Fri, 12 Feb 2021 15:02:33 +0100 Subject: [PATCH] up script update --- update.sh | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/update.sh b/update.sh index 5389fbf..e50aa93 100755 --- a/update.sh +++ b/update.sh @@ -10,16 +10,29 @@ php bin/console doctrine:schema:update --force echo "######################" echo " update the funky frontend submodule " echo "######################" +if [ ! -d "funky-framadate-front" ]; then + # initiate sub directory for funky front + git submodule init +fi + +git config --global diff.submodule log git submodule update echo "######################" echo " check dependencies of the frontend with yarn " echo "######################" cd funky-framadate-front +echo "######################" +echo " debug info : version of programs" +echo " " +git branch +node -v +yarn -v +echo "######################" yarn echo "######################" echo " building the frontend " echo "######################" -yarn run build:prod:demobliss +ng build --prod --baseHref=https://framadate-api.cipherbliss.com echo "######################" echo " copying built files in the public folder of the symfony project "