From 33a7a0425e1a43e81535847c502cf4fd753948f4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C5=81ukasz=20Uzna=C5=84ski?= Date: Wed, 31 Jan 2024 10:14:57 +0100 Subject: [PATCH] [TASK] Change webdir of TYPO3 to `public` (#1144) Resolves: #1140 --- Build/Scripts/runTests.sh | 4 ++-- composer.json | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Build/Scripts/runTests.sh b/Build/Scripts/runTests.sh index 3f93ce9..0a6164f 100755 --- a/Build/Scripts/runTests.sh +++ b/Build/Scripts/runTests.sh @@ -114,7 +114,7 @@ cleanTestFiles() { # test related echo -n "Clean test related files ... " rm -rf \ - .Build/Web/typo3temp/var/tests/ + .Build/public/typo3temp/var/tests/ echo "done" } @@ -430,7 +430,7 @@ fi # Create .cache dir: composer need this. 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_ALPINE="docker.io/alpine:3.8" diff --git a/composer.json b/composer.json index bb08e04..bd58ac6 100644 --- a/composer.json +++ b/composer.json @@ -105,7 +105,7 @@ }, "typo3/cms": { "extension-key": "tea", - "web-dir": ".Build/Web" + "web-dir": ".Build/public" } }, "scripts": { @@ -149,7 +149,7 @@ "@ci:ts: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:create-directories", "find 'Tests/Functional' -wholename '*Test.php' | parallel --gnu 'echo; echo \"Running functional test suite {}\"; .Build/bin/phpunit -c ./Configuration/FunctionalTests.xml {}';"