mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-10 00:16:13 +01:00

[TASK] Change webdir of TYPO3 to public (#1144)

Resolves: #1140
This commit is contained in:
Łukasz Uznański 2024-01-31 10:14:57 +01:00 committed by GitHub
parent 659e4dbccc
commit 33a7a0425e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 4 additions and 4 deletions

View file

@ -114,7 +114,7 @@ cleanTestFiles() {
# test related # test related
echo -n "Clean test related files ... " echo -n "Clean test related files ... "
rm -rf \ rm -rf \
.Build/Web/typo3temp/var/tests/ .Build/public/typo3temp/var/tests/
echo "done" echo "done"
} }
@ -430,7 +430,7 @@ fi
# Create .cache dir: composer need this. # Create .cache dir: composer need this.
mkdir -p .cache mkdir -p .cache
mkdir -p .Build/Web/typo3temp/var/tests mkdir -p .Build/public/typo3temp/var/tests
IMAGE_PHP="ghcr.io/sbuerk/demo-core-testing-$(echo "php${PHP_VERSION}" | sed -e 's/\.//'):latest" IMAGE_PHP="ghcr.io/sbuerk/demo-core-testing-$(echo "php${PHP_VERSION}" | sed -e 's/\.//'):latest"
IMAGE_ALPINE="docker.io/alpine:3.8" IMAGE_ALPINE="docker.io/alpine:3.8"

View file

@ -105,7 +105,7 @@
}, },
"typo3/cms": { "typo3/cms": {
"extension-key": "tea", "extension-key": "tea",
"web-dir": ".Build/Web" "web-dir": ".Build/public"
} }
}, },
"scripts": { "scripts": {
@ -149,7 +149,7 @@
"@ci:ts:lint", "@ci:ts:lint",
"@ci:yaml:lint" "@ci:yaml:lint"
], ],
"ci:tests:create-directories": "mkdir -p .Build/Web/typo3temp/var/tests", "ci:tests:create-directories": "mkdir -p .Build/public/typo3temp/var/tests",
"ci:tests:functional": [ "ci:tests:functional": [
"@ci:tests:create-directories", "@ci:tests:create-directories",
"find 'Tests/Functional' -wholename '*Test.php' | parallel --gnu 'echo; echo \"Running functional test suite {}\"; .Build/bin/phpunit -c ./Configuration/FunctionalTests.xml {}';" "find 'Tests/Functional' -wholename '*Test.php' | parallel --gnu 'echo; echo \"Running functional test suite {}\"; .Build/bin/phpunit -c ./Configuration/FunctionalTests.xml {}';"