mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-12-22 19:46:10 +01:00

[TASK] Link the extension on Travis (#6)

This commit is contained in:
Oliver Klee 2018-01-25 18:59:55 +01:00 committed by GitHub
parent a1714ab0da
commit d4e55df95a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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": {