[DEV] ⚡ update submodule script
This commit is contained in:
parent
2eac04c1e1
commit
ec6c04debb
|
@ -1,3 +1,3 @@
|
||||||
[submodule "caisse-bliss-frontend"]
|
[submodule "caisse-bliss-frontend"]
|
||||||
path = web/caisse-bliss-frontend
|
path = caisse-bliss-frontend
|
||||||
url = https://gitlab.com/tykayn1/caisse-bliss-frontend
|
url = https://framagit.org/tykayn/caisse-bliss-frontend.git
|
||||||
|
|
|
@ -1,7 +1,6 @@
|
||||||
{% extends 'base.html.twig' %}
|
{% extends 'base.html.twig' %}
|
||||||
{% block body %}
|
{% block body %}
|
||||||
<div id="wrapper">
|
<div id="wrapper">
|
||||||
<div id="container" class="container">
|
|
||||||
<div id="caisse-now" class="tab-pane fade in active">
|
<div id="caisse-now" class="tab-pane fade in active">
|
||||||
<div class="caisse-main row"
|
<div class="caisse-main row"
|
||||||
ng-app="caisse"
|
ng-app="caisse"
|
||||||
|
|
|
@ -0,0 +1,8 @@
|
||||||
|
{% extends 'base.html.twig' %}
|
||||||
|
{% block body %}
|
||||||
|
<div id="wrapper">
|
||||||
|
<h1>Appli angular embarquée</h1>
|
||||||
|
<script href="{{ asset('/assets/js/build-frontend-submodule/main.js') }}"></script>
|
||||||
|
<div ng-app="tktest"></div>
|
||||||
|
</div>
|
||||||
|
{% endblock %}
|
|
@ -0,0 +1 @@
|
||||||
|
console.log('this file is a placeholder, if you see this, it means you did not update the frontend submodule');
|
|
@ -0,0 +1 @@
|
||||||
|
Subproject commit 474d8db5d74ec1283bf9b9e1a0fe03221538d44c
|
|
@ -0,0 +1,11 @@
|
||||||
|
#/bin/bash
|
||||||
|
echo "###############################";
|
||||||
|
echo "start update of frontend submodule assets";
|
||||||
|
echo "###############################";
|
||||||
|
git submodule update;
|
||||||
|
cd caisse-bliss-frontend
|
||||||
|
ng build
|
||||||
|
cp caisse-bliss-frontend/dist/appli/* /assets/js/build-frontend-submodule
|
||||||
|
echo "###########";
|
||||||
|
echo "update done";
|
||||||
|
echo "###########";
|
|
@ -8,6 +8,8 @@ composer self-update
|
||||||
composer update
|
composer update
|
||||||
yarn --version
|
yarn --version
|
||||||
|
|
||||||
|
bash compile-frontend.sh
|
||||||
|
|
||||||
yarn run encore production
|
yarn run encore production
|
||||||
php bin/console doctrine:schema:update --dump-sql
|
php bin/console doctrine:schema:update --dump-sql
|
||||||
php bin/console doctrine:schema:update --force
|
php bin/console doctrine:schema:update --force
|
||||||
|
|
Loading…
Reference in New Issue