1
0
mirror of https://framagit.org/tykayn/date-poll-api synced 2023-08-25 08:23:11 +02:00

update script for submodule frontend

This commit is contained in:
Tykayn 2021-02-12 14:39:45 +01:00 committed by tykayn
parent 4b4d48b55c
commit bb5ca7de44

View File

@ -2,13 +2,13 @@
echo "######################" echo "######################"
echo " time to update the framadate setup" echo " time to update the framadate setup"
echo "######################" echo "######################"
git reset --hard # git reset --hard
git pull origin master git pull origin master
composer install composer install
php bin/console doctrine:schema:update --force php bin/console doctrine:schema:update --force
echo "######################" echo "######################"
echo " update the funky frontend " echo " update the funky frontend submodule "
echo "######################" echo "######################"
git submodule update git submodule update
echo "######################" echo "######################"
@ -19,11 +19,12 @@ yarn
echo "######################" echo "######################"
echo " building the frontend " echo " building the frontend "
echo "######################" echo "######################"
yarn build yarn run build:prod:demobliss
echo "######################" echo "######################"
echo " copying built files in the public folder of the symfony project " echo " copying built files in the public folder of the symfony project "
echo "######################" echo "######################"
cp -r dist/* public/ cp -r dist/* ../public/
echo "######################" echo "######################"
echo " done " echo " done "
echo "######################" echo "######################"