Changes between Version 2 and Version 3 of Ticket #36335, comment 51
- Timestamp:
- 06/06/2016 03:47:18 PM (9 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #36335, comment 51
v2 v3 19 19 ] 20 20 }, 21 "config": { 22 "vendor-dir": "wp-includes/autoloader" 23 }, 21 24 "require": { 22 25 "php": ">=5.2.14", … … 31 34 ], 32 35 "post-autoload-dump": [ 33 "xrstf\\Composer52\\Generator::onPostInstallCmd", 34 "rm -rf wp-includes/autoloader && cp -r vendor wp-includes/autoloader" 36 "xrstf\\Composer52\\Generator::onPostInstallCmd" 35 37 ] 36 38 } … … 38 40 }}} 39 41 40 '''Edit:''' scratch that, Composer uses relative directory paths so simply moving the autoloader won't work. @schlessera's approach is much better .42 '''Edit:''' scratch that, Composer uses relative directory paths so simply moving the autoloader won't work. @schlessera's approach is much better so I've updated the example to reflect his suggestion. 41 43 42 44