diff --git a/composer.json b/composer.json index b54b33d..5998c2f 100644 --- a/composer.json +++ b/composer.json @@ -66,6 +66,13 @@ "require-typo3-version": [ "@php -r '$conf=json_decode(file_get_contents(__DIR__.\"/composer.json\"),true);$conf[\"require\"][\"typo3/cms-core\"]=$_SERVER[\"argv\"][1];file_put_contents(__DIR__.\"/composer.json\",json_encode($conf,JSON_UNESCAPED_SLASHES|JSON_PRETTY_PRINT).chr(10));'", "@composer install" + ], + "link-extension": [ + "@php -r 'is_dir($extFolder=__DIR__.\"/.Build/public/typo3conf/ext/\") || mkdir($extFolder, 0777, true);'", + "@php -r 'file_exists($extFolder=__DIR__.\"/.Build/public/typo3conf/ext/tea\") || symlink(__DIR__,$extFolder);'" + ], + "post-autoload-dump": [ + "@link-extension" ] }, "extra": {