diff --git a/Build/Scripts/runTests.sh b/Build/Scripts/runTests.sh index 1ccf65eb24c9de057b1196f408bc36bc4253edf4..3bc6f2bdae21e7b300a4ad2359482ddb36721722 100755 --- a/Build/Scripts/runTests.sh +++ b/Build/Scripts/runTests.sh @@ -114,6 +114,13 @@ cleanTestFiles() { echo "done" } +cleanRenderedDocumentationFiles() { + # > caches + echo -n "Clean rendered documentation files ... " ; rm -rf \ + ../../../typo3/sysext/*/Documentation-GENERATED-temp ; \ + echo "done" +} + # Load help text into $HELP # @todo Remove xdebug / php8.2 note after PHP8.2 image contains working xdebug. read -r -d '' HELP <<EOF @@ -151,6 +158,7 @@ Options: - clean: clean up build, cache and testing related files and folders - cleanBuild: clean up build related files and folders - cleanCache: clean up cache related files and folders + - cleanRenderedDocumentation: clean up rendered documentation files and folders (Documentation-GENERATED-temp) - cleanTests: clean up test related files and folders - composerInstall: "composer install" - composerInstallMax: "composer update", with no platform.php config. @@ -657,6 +665,7 @@ case ${TEST_SUITE} in clean) cleanBuildFiles cleanCacheFiles + cleanRenderedDocumentationFiles cleanTestFiles ;; cleanBuild) @@ -665,6 +674,9 @@ case ${TEST_SUITE} in cleanCache) cleanCacheFiles ;; + cleanRenderedDocumentation) + cleanRenderedDocumentationFiles + ;; cleanTests) cleanTestFiles ;;