[TASK] Enforce optimized composer autoloader 61/43861/2
authorHelmut Hummel <helmut.hummel@typo3.org>
Tue, 6 Oct 2015 14:34:17 +0000 (16:34 +0200)
committerWouter Wolters <typo3@wouterwolters.nl>
Tue, 6 Oct 2015 14:38:12 +0000 (16:38 +0200)
The optimized autoload generation gives a huge benefit in performance.
Let people participate from this benefit even if they do not know about it.

Add this option in composer.json, so that this step cannot be forgotten when
creating distribution builds.

Resolves: #70436
Releases: master, 6.2
Change-Id: Ia3e1a3209f3c6820f514d2574a3c71cacd4e8501
Reviewed-on: http://review.typo3.org/43861
Reviewed-by: Markus Klein <markus.klein@typo3.org>
Tested-by: Markus Klein <markus.klein@typo3.org>
Reviewed-by: Wouter Wolters <typo3@wouterwolters.nl>
Tested-by: Wouter Wolters <typo3@wouterwolters.nl>
composer.json
composer.lock

index 5377082..97136ff 100644 (file)
@@ -24,6 +24,7 @@
                "news": "nntp://lists.typo3.org"
        },
        "config": {
+               "optimize-autoloader": true,
                "bin-dir": "bin"
        },
        "require": {
index c6c3aa1..ef9aef0 100644 (file)
@@ -4,7 +4,7 @@
         "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#composer-lock-the-lock-file",
         "This file is @generated automatically"
     ],
-    "hash": "7e0b69894e25ce620d2ec2f1ed513414",
+    "hash": "abe3f508408be07e42aa435fb92c836b",
     "packages": [
         {
             "name": "cogpowered/finediff",