mirror of https://github.com/FriendsOfTYPO3/tea.git synced 2024-12-24 19:26:11 +01:00

Move all tooling configuration to config dir

This commit is contained in:
Łukasz Uznański 2024-03-26 00:49:55 +01:00
parent e1f4257927
commit 926a215f18
9 changed files with 10 additions and 9 deletions

View file

@ -124,7 +124,7 @@
"ci:coverage:functional": [
"@ci:tests:create-directories",
"@coverage:create-directories",
".Build/bin/phpunit -c ./Configuration/FunctionalTests.xml --whitelist Classes --coverage-php=.Build/coverage/functional.cov Tests/Functional"
".Build/bin/phpunit -c ./config/tests/FunctionalTests.xml --whitelist Classes --coverage-php=.Build/coverage/functional.cov Tests/Functional"
],
"ci:coverage:merge": [
"@coverage:create-directories",
@ -132,7 +132,7 @@
],
"ci:coverage:unit": [
"@coverage:create-directories",
".Build/bin/phpunit -c ./Configuration/UnitTests.xml --whitelist Classes --coverage-php=.Build/coverage/unit.cov Tests/Unit"
".Build/bin/phpunit -c ./config/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:php": [
@ -141,10 +141,10 @@
"@ci:php:sniff",
"@ci:php:stan"
],
"ci:php:cs-fixer": "php-cs-fixer fix --config .php-cs-fixer.php -v --dry-run --diff",
"ci:php:cs-fixer": "php-cs-fixer fix --config config/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:sniff": "phpcs Classes Configuration Tests",
"ci:php:stan": "phpstan --no-progress",
"ci:php:sniff": "phpcs --standard=config/php/phpcs.xml Classes Configuration Tests",
"ci:php:stan": ".Build/bin/phpstan analyse -c config/php/phpstan.neon --no-progress",
"ci:static": [
"@ci:composer:normalize",
"@ci:json:lint",
@ -159,11 +159,11 @@
"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 {}';"
"find 'Tests/Functional' -wholename '*Test.php' | parallel --gnu 'echo; echo \"Running functional test suite {}\"; .Build/bin/phpunit -c ./config/tests/FunctionalTests.xml {}';"
],
"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:xliff:lint": "php Build/bin/xliff-lint lint:xliff Resources/Private/Language",
"ci:xliff:lint": "php Build/bin/console 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",
"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",
@ -172,15 +172,16 @@
"@fix:php:cs",
"@fix:php:sniff"
],
"fix:php:cs": "php-cs-fixer fix --config .php-cs-fixer.php",
"fix:php:cs": "php-cs-fixer fix --config config/.php-cs-fixer.php",
"fix:php:sniff": "phpcbf Classes Configuration Tests",
"phpstan:baseline": ".Build/bin/phpstan --generate-baseline --allow-empty-baseline",
"phpstan:baseline": ".Build/bin/phpstan -c config/php/phpstan-baseline.neon --generate-baseline --allow-empty-baseline",
"prepare-release": [
"rm -rf .Build",
"rm -rf .ddev",
"rm -rf .github",
"rm -rf .gitlab",
"rm -rf Build",
"rm -rf config",
"rm -rf Tests",
"rm -rf tools",
"rm .editorconfig",