[FEATURE] Add code to generate entry scripts on composer run 02/53602/7
authorHelmut Hummel <typo3@helhum.io>
Tue, 25 Jul 2017 14:28:13 +0000 (16:28 +0200)
committerBenni Mack <benni@typo3.org>
Mon, 31 Jul 2017 05:10:14 +0000 (07:10 +0200)
commitdf4ee248937952a9e8defd4285aaea1dd255bb6a
tree70a97340a3f79f465e88b29c041eeb543342126f
parentff87f24a51c3fe7615e0746b9817696d88c4f994
[FEATURE] Add code to generate entry scripts on composer run

With the new composer installers versions,
the core package itself (in fact any composer package)
can add scripts to be run on composer build time.

Use this API to add scripts to TYPO3,
that will create the entry scripts for frontend,
backend and install tool

We do this in a way, that also works if these system extensions
are installed individually.

This also has the benefit, that we can adapt the core
with doing more things during composer build time
(e.g. maybe publishing assets) in the future,
or change the entry scripts to different locations,
without touching the plugin any more.

Resolves: #81981
Releases: master
Change-Id: I3982bd5e73a14cdd54e83d0a7b3a1c93f2191efd
Reviewed-on: https://review.typo3.org/53602
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Georg Ringer <georg.ringer@gmail.com>
Tested-by: Georg Ringer <georg.ringer@gmail.com>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
13 files changed:
.gitignore
Build/.php_cs
Build/Scripts/cglFixMyCommit.sh
composer.json
composer.lock
index.php [deleted file]
typo3/index.php [deleted file]
typo3/install.php [deleted file]
typo3/sysext/backend/Classes/Composer/InstallerScripts.php [new file with mode: 0644]
typo3/sysext/core/Classes/Composer/InstallerScripts.php [new file with mode: 0644]
typo3/sysext/core/Classes/Composer/InstallerScripts/WebDirectory.php [new file with mode: 0644]
typo3/sysext/frontend/Classes/Composer/InstallerScripts.php [new file with mode: 0644]
typo3/sysext/install/Classes/Composer/InstallerScripts.php [new file with mode: 0644]