summaryrefslogtreecommitdiff
path: root/app-from-scratch.sh
diff options
context:
space:
mode:
authorLudovic Pouzenc <ludovic@pouzenc.fr>2018-07-19 00:20:03 +0200
committerLudovic Pouzenc <ludovic@pouzenc.fr>2018-07-19 00:20:03 +0200
commit0dd134b71539f38d84db3b023ba42d2650df278a (patch)
treeed73c88a626e02116f06e8e5d40b679af438bfe8 /app-from-scratch.sh
parent1eeb6c1ee3b538e2a3f5b940c32725ec068f21ba (diff)
downloadchd_gestion-0dd134b71539f38d84db3b023ba42d2650df278a.zip
chd_gestion-0dd134b71539f38d84db3b023ba42d2650df278a.tar.gz
chd_gestion-0dd134b71539f38d84db3b023ba42d2650df278a.tar.bz2
bake: Add configurability, generate less actions
Diffstat (limited to 'app-from-scratch.sh')
-rw-r--r--app-from-scratch.sh21
1 files changed, 21 insertions, 0 deletions
diff --git a/app-from-scratch.sh b/app-from-scratch.sh
index bacf80e..a168168 100644
--- a/app-from-scratch.sh
+++ b/app-from-scratch.sh
@@ -253,3 +253,24 @@ cp -a vendor/cakephp/bake/src/Shell/BakeShell.php plugins/CustomTheme/src/Shell/
editor plugins/CustomTheme/src/Shell/BakeShell.php
git add plugins/CustomTheme/src/Shell/BakeShell.php
git commit -m "bake : Commit imported&derived files from bake to keep the diffs"
+# 1eeb6c1ee3b538e2a3f5b940c32725ec068f21ba
+
+# bake: Add config, generate less actions
+# https://book.cakephp.org/3.0/fr/bake/development.html#creating-a-bake-theme
+editor config/bake_extra.php
+git add config/bake_extra.php
+
+editor config/bootstrap_cli.php plugins/CustomTheme/config/bootstrap.php
+git add config/bootstrap_cli.php plugins/CustomTheme/config/bootstrap.php
+
+editor plugins/CustomTheme/src/Template/Bake/Element/Controller/_empty.twig
+git add plugins/CustomTheme/src/Template/Bake/Element/Controller/_empty.twig
+
+editor plugins/CustomTheme/src/Shell/BakeShell.php
+git add plugins/CustomTheme/src/Shell/BakeShell.php
+
+editor plugins/CustomTheme/src/View/Helper/BakeExtraHelper.php
+git add plugins/CustomTheme/src/View/Helper/BakeExtraHelper.php
+
+git add ../app-from-scratch.sh
+git commit -m "bake: Add configurability, generate less actions"