mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-11-22 21:36:13 +01:00

Update to Buld directory

This commit is contained in:
Łukasz Uznański 2024-05-20 22:46:15 +02:00
parent 926a215f18
commit b6bb438492
11 changed files with 10 additions and 10 deletions

View file

@ -9,6 +9,7 @@ This project adheres to [Semantic Versioning](https://semver.org/).
- Add support for PostgreSQL 16 (#1271) - Add support for PostgreSQL 16 (#1271)
### Changed ### Changed
- Move all tooling configuration to Build dir (#1202)
- Stop storing development tool PHARs in the repository (#1277) - Stop storing development tool PHARs in the repository (#1277)
- !!! Require a storage PID for the tea list (#1223) - !!! Require a storage PID for the tea list (#1223)
- Drop additional namespace segment for the Tea model (#1025) - Drop additional namespace segment for the Tea model (#1025)

View file

@ -124,7 +124,7 @@
"ci:coverage:functional": [ "ci:coverage:functional": [
"@ci:tests:create-directories", "@ci:tests:create-directories",
"@coverage:create-directories", "@coverage:create-directories",
".Build/bin/phpunit -c ./config/tests/FunctionalTests.xml --whitelist Classes --coverage-php=.Build/coverage/functional.cov Tests/Functional" ".Build/bin/phpunit -c ./Build/tests/FunctionalTests.xml --whitelist Classes --coverage-php=.Build/coverage/functional.cov Tests/Functional"
], ],
"ci:coverage:merge": [ "ci:coverage:merge": [
"@coverage:create-directories", "@coverage:create-directories",
@ -132,7 +132,7 @@
], ],
"ci:coverage:unit": [ "ci:coverage:unit": [
"@coverage:create-directories", "@coverage:create-directories",
".Build/bin/phpunit -c ./config/tests/UnitTests.xml --whitelist Classes --coverage-php=.Build/coverage/unit.cov Tests/Unit" ".Build/bin/phpunit -c ./Build/tests/UnitTests.xml --whitelist Classes --coverage-php=.Build/coverage/unit.cov Tests/Unit"
], ],
"ci:json:lint": "find . ! -path '*/.cache/*' ! -path '*/.Build/*' ! -path '*/node_modules/*' -name '*.json' | xargs -r php .Build/bin/jsonlint -q", "ci:json:lint": "find . ! -path '*/.cache/*' ! -path '*/.Build/*' ! -path '*/node_modules/*' -name '*.json' | xargs -r php .Build/bin/jsonlint -q",
"ci:php": [ "ci:php": [
@ -141,10 +141,10 @@
"@ci:php:sniff", "@ci:php:sniff",
"@ci:php:stan" "@ci:php:stan"
], ],
"ci:php:cs-fixer": "php-cs-fixer fix --config config/php/.php-cs-fixer.php -v --dry-run --diff", "ci:php:cs-fixer": "php-cs-fixer fix --config Build/php/.php-cs-fixer.php -v --dry-run --diff",
"ci:php:lint": "find .*.php *.php Classes Configuration Tests -name '*.php' -print0 | xargs -r -0 -n 1 -P 4 php -l", "ci:php:lint": "find .*.php *.php Classes Configuration Tests -name '*.php' -print0 | xargs -r -0 -n 1 -P 4 php -l",
"ci:php:sniff": "phpcs --standard=config/php/phpcs.xml Classes Configuration Tests", "ci:php:sniff": "phpcs --standard=Build/php/phpcs.xml Classes Configuration Tests",
"ci:php:stan": ".Build/bin/phpstan analyse -c config/php/phpstan.neon --no-progress", "ci:php:stan": ".Build/bin/phpstan analyse -c Build/php/phpstan.neon --no-progress",
"ci:static": [ "ci:static": [
"@ci:composer:normalize", "@ci:composer:normalize",
"@ci:json:lint", "@ci:json:lint",
@ -159,11 +159,11 @@
"ci:tests:create-directories": "mkdir -p .Build/public/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 ./config/tests/FunctionalTests.xml {}';" "find 'Tests/Functional' -wholename '*Test.php' | parallel --gnu 'echo; echo \"Running functional test suite {}\"; .Build/bin/phpunit -c ./Build/tests/FunctionalTests.xml {}';"
], ],
"ci:tests:unit": ".Build/bin/phpunit -c ./Configuration/UnitTests.xml Tests/Unit", "ci:tests:unit": ".Build/bin/phpunit -c ./Configuration/UnitTests.xml Tests/Unit",
"ci:ts:lint": "typoscript-lint -c Configuration/TsLint.yml --ansi -n --fail-on-warnings -vvv Configuration/TypoScript", "ci:ts:lint": "typoscript-lint -c Configuration/TsLint.yml --ansi -n --fail-on-warnings -vvv Configuration/TypoScript",
"ci:xliff:lint": "php Build/bin/console lint:xliff Resources/Private/Language", "ci:xliff:lint": "php Build/xliff/xliff-lint lint:xliff Resources/Private/Language",
"ci:yaml:lint": "find . ! -path '*.Build/*' ! -path '*node_modules/*' \\( -name '*.yaml' -o -name '*.yml' \\) | xargs -r php ./.Build/bin/yaml-lint", "ci:yaml:lint": "find . ! -path '*.Build/*' ! -path '*node_modules/*' \\( -name '*.yaml' -o -name '*.yml' \\) | xargs -r php ./.Build/bin/yaml-lint",
"coverage:create-directories": "mkdir -p .Build/logs .Build/coverage", "coverage:create-directories": "mkdir -p .Build/logs .Build/coverage",
"docs:generate": "docker run --rm --pull always -v $(pwd):/project -it ghcr.io/typo3-documentation/render-guides:latest --config=Documentation", "docs:generate": "docker run --rm --pull always -v $(pwd):/project -it ghcr.io/typo3-documentation/render-guides:latest --config=Documentation",
@ -172,16 +172,15 @@
"@fix:php:cs", "@fix:php:cs",
"@fix:php:sniff" "@fix:php:sniff"
], ],
"fix:php:cs": "php-cs-fixer fix --config config/.php-cs-fixer.php", "fix:php:cs": "php-cs-fixer fix --config Build/.php-cs-fixer.php",
"fix:php:sniff": "phpcbf Classes Configuration Tests", "fix:php:sniff": "phpcbf Classes Configuration Tests",
"phpstan:baseline": ".Build/bin/phpstan -c config/php/phpstan-baseline.neon --generate-baseline --allow-empty-baseline", "phpstan:baseline": ".Build/bin/phpstan -c Build/php/phpstan-baseline.neon --generate-baseline --allow-empty-baseline",
"prepare-release": [ "prepare-release": [
"rm -rf .Build", "rm -rf .Build",
"rm -rf .ddev", "rm -rf .ddev",
"rm -rf .github", "rm -rf .github",
"rm -rf .gitlab", "rm -rf .gitlab",
"rm -rf Build", "rm -rf Build",
"rm -rf config",
"rm -rf Tests", "rm -rf Tests",
"rm -rf tools", "rm -rf tools",
"rm .editorconfig", "rm .editorconfig",